IgnoreDocumentResolution Property (GdViewer)
In This Topic
Gets or sets whether the GdViewer control will ignore vertical and horizontal resolutions measurement while displaying a document.
Syntax
'Declaration
Public Property IgnoreDocumentResolution As Boolean
public bool IgnoreDocumentResolution {get; set;}
public read-write property IgnoreDocumentResolution: Boolean;
public function get,set IgnoreDocumentResolution : boolean
public: __property bool get_IgnoreDocumentResolution();
public: __property void set_IgnoreDocumentResolution(
bool value
);
public:
property bool IgnoreDocumentResolution {
bool get();
void set ( bool value);
}
Property Value
The default value is false.
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
'The control will ignore resolutions measurement while displaying the current document.
GdViewer1.IgnoreDocumentResolution = True
//We assume that the GdViewer1 control has been properly integrated.
//The control will ignore resolutions measurement while displaying the current document.
GdViewer1.IgnoreDocumentResolution = true;
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
'The control will ignore resolutions measurement while displaying the current document.
GdViewer1.IgnoreDocumentResolution = True
//We assume that the GdViewer1 control has been properly integrated.
//The control will ignore resolutions measurement while displaying the current document.
GdViewer1.IgnoreDocumentResolution = true;
See Also