GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / EnableDeferredPainting Property
Example





In This Topic
EnableDeferredPainting Property (GdViewer)
In This Topic
Specifies if page painting is deferred in the GdViewer control.

Displaying large bitmaps or complex vector document pages may cause performance issues. In such situations, it might be useful to use deferred page painting.

Syntax
'Declaration
 
Public Property EnableDeferredPainting As Boolean
public bool EnableDeferredPainting {get; set;}
public read-write property EnableDeferredPainting: Boolean; 
public function get,set EnableDeferredPainting : boolean
public: __property bool get_EnableDeferredPainting();
public: __property void set_EnableDeferredPainting( 
   bool value
);
public:
property bool EnableDeferredPainting {
   bool get();
   void set (    bool value);
}

Property Value

The default value is true.
Remarks
We recommend to set this property to true, specifically for touch-enabled devices.
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.EnableDeferredPainting = True
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.EnableDeferredPainting = true;
See Also