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





IgnoreDocumentResolution Property (GdViewer)
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
 

Property Value

The default value is false.
Remarks
The property can be useful for documents with different horizontal and vertical resolutions to avoid unexpected aspect ratio.
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
See Also