Name | Description | |
---|---|---|
![]() | AddConnectedLinesAnnotInteractive | Allows users to interactively add a new connected lines annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A connected lines annotation depicts a polyline consisting of several straight lines. This method uses the round cap style on both polyline ending points. Users end every individual line with a single click, and they finish the annotation with a double-click. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeConnectedLines. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationConnectedLines class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddCustomAnnotInteractive | Allows users to interactively add a new custom annotation using the mouse on the current page of the document displayed in the GdViewer control.
Custom annotations are identified through the ModelID identifier, which you subsequently have to use in the OnCustomAnnotationPaint event. This event renders the required annotation according to what you specify for each ModelID inside the event respecting the dimensions users will define using the mouse as well. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeCustom. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationCustom class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddEllipseAnnotInteractive | Allows users to interactively add a new ellipse annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
This annotation enables users to draw a filled and bordered ellipse or circle by adjusting its height and width continuously using the mouse. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeEllipse. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationEllipse class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddEmbeddedImageAnnotInteractive | Overloaded. Allows users to interactively add a new embedded image annotation using the mouse on the current page of the document displayed in the GdViewer control. |
![]() | AddFreeHandAnnotInteractive | Overloaded. Allows users to interactively add a new freehand annotation using the mouse on the current page of the document displayed in the GdViewer control. |
![]() | AddFreeHandHighlighterAnnotInteractive | Overloaded. Allows users to interactively add a new freehand highlighter annotation using the mouse on the current page of the document displayed in the GdViewer control. |
![]() | AddFreeHandPolygonAnnotInteractive | Allows users to interactively add a new freehand polygon annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A freehand polygon is an arbitrary closed shape which users paint by moving the mouse. Drawing a polygon starts with pressing the mouse button and it finishes with releasing the mouse button. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeFreeHandPolygon. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationFreeHandPolygon class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddLineAnnotInteractive | Allows users to interactively add a new line annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A line annotation presents a single straight line with specified cap styles on its ending points. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeLine. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationLine class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddLineArrowAnnotInteractive | Overloaded. Allows users to interactively add a new line arrow annotation using the mouse on the current page of the document displayed in the GdViewer control. |
![]() | AddLinkAnnotationInteractive | Allows users to interactively add a new link annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A link annotation depicts the defined text, that points to a link destination, that means to a web site or to a page in the current document. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeLink. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationLink class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddPolygonAnnotInteractive | Allows users to interactively add a new polygon annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
Users start drawing a polygon with a single line. Each single click adds a new polygon vertice. To finish the polygon they use a double-click. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypePolygon. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationPolygon class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddPolyRulerAnnotInteractive | Allows users to interactively add a new poly ruler annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A poly ruler annotation consists of several connected lines presenting its entire length. Users end every individual line with a single click, and they finish the annotation with a double-click. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypePolyRuler. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationPolyRuler class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddRectangleAnnotInteractive | Allows users to interactively add a new rectangle annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
This annotation enables users to draw a filled and bordered rectangle or square by adjusting its height and width continuously using the mouse. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeRectangle. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationRectangle class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddRectangleHighlighterAnnotInteractive | Allows users to interactively add a new rectangle highlighter annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
This annotation enables users to highlight a required area by adjusting the height and the width of the rectangle highlighter continuously using the mouse. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeRectangleHighlighter. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationRectangleHighlighter class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddRedactionAnnotInteractive | Allows users to interactively add a new redaction annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
This annotation enables users to mark regions for redaction by adjusting the height and the width of the annotation continuously using the mouse. The redaction annotations are used as input for the GdViewer.ApplyAllRedactions method. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeRedaction. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationRedaction class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddRegion | Overloaded. Adds and highlights a new region on the current page of the document displayed in the GdViewer control according to what you have specified. The region is added to the list of all highlighted regions related to the displayed document. |
![]() | AddRegionInches | Overloaded. Adds and highlights a new region on the current page of the document displayed in the GdViewer control according to what you have specified. The region is added to the list of all highlighted regions related to the displayed document. |
![]() | AddRubberStampAnnotInteractive | Allows users to interactively add a new rubber stamp annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
This annotation shows a stamp mark of the specified stamp within the area defined by the user. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeRubberStamp. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationRubberStamp class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddRulerAnnotInteractive | Allows users to interactively add a new ruler annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A ruler annotation depicts a single drawn line showing its length. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeRuler. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationRuler class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddStickyNoteAnnotationInteractive | Allows users to interactively add a new sticky note annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A sticky note annotation writes the specified text within the filled and bordered rectangle area defined by the user. You can prompt users to add their custom text using the GdViewer.DisplayTextEditBox method right after creating the annotation object. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeStickyNote. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationStickyNote class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | AddTextAnnotationInteractive | Allows users to interactively add a new text annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A text annotation writes the specified text within the rectangle area defined by the user. You can prompt users to add their custom text using the GdViewer.DisplayTextEditBox method right after creating the annotation object. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeText. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationText class before or after the successful creation of the annotation object. Please refer to both the GdViewer.BeforeAnnotationAddedByUser and the GdViewer.AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the GdViewer.SetAnnotationEditorMode method, otherwise this method will fail. |
![]() | ApplyAllRedactions | Applies all redactions to the native document based on redaction annotations present in the document. |
![]() | ARGB | Overloaded. Returns a Color object, that represents a required color according to your specified parameters. |
![]() | ARGBI | Returns a 32-bit value, that represents a color composed from a specified set of alpha, red, green and blue color components. |
![]() | BeginInvoke | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | BringToFront | (Inherited from System.Windows.Forms.Control) |
![]() | BurnAnnotationsToPage | Overloaded. Burn, in other words flatten, the GdPicture/XMP annotations into the current page of the document displayed in the GdViewer control. |
![]() | CancelLastAnnotInteractiveAdd | Asks the GdViewer control to ignore the latest request of an interactive annotation creation.
This method only works when the editing mode for annotations is enabled; otherwise, the method will fail. |
![]() | CenterOnRect | Moves the current page of the document displayed in the GdViewer control within the control to set the rectangle of area selection, if any is defined, in the middle of the control. You can use the GdViewer.IsRect method to find out, if the rectangle of selection is currently specified. |
![]() | Clear | Clears the GdViewer control, in other words, erases the displayed document from the control. This method only cleans up the displayed area of the GdViewer control, it does not close the loaded document. It also clears the rectangle of area selection, if any is defined, using the GdViewer.ClearRect method internally. You can display the loaded document using the GdViewer.Redraw method again. |
![]() | ClearCache | Call this method to release the cached content of the GdViewer instance. |
![]() | ClearRect | Removes the rectangle of area selection, which is related to the document currently displayed in the GdViewer control, and deletes the corresponding rectangle's data, which are the location point and dimensions, as well. Removing means that no rectangle of selection is defined further, with the rectangle not drawn within the control anymore. You can find out, if this rectangle is currently defined and drawn, using the GdViewer.IsRect method.
As said, the rectangle of selection always relates to the displayed document, so its location point and dimensions are cleared when reloading documents within the control. On the other hand, the current values of the border size and the border color properties of the rectangle do not change when reloading documents or clearing the above-specified rectangle's data. |
![]() | ClearSelectedText | Clears the last text selection made by the user in the GdViewer control, that means both the latest selected text, as well as the selected text regions, are released. |
![]() | CloseDocument | Overloaded. Closes the currently displayed document with or without clearing the GdViewer control according to what you have specified. |
![]() | Contains | (Inherited from System.Windows.Forms.Control) |
![]() | CoordDocumentInchToViewerPixel | Translates the coordinates of the point located in the document area of the document currently displayed in the GdViewer control (the document space), in inches, to the coordinates of the corresponding point located in the GdViewer control area (the viewer space), in pixels. That said, the point with the coordinates (DocumentLeft, DocumentTop) inside the currently displayed page of the document matches to the point with coordinates (ViewerLeft, ViewerTop) inside the GdViewer control area. |
![]() | CoordDocumentToViewer | Translates the coordinates of the point located in the document area of the document currently displayed in the GdViewer control (the document space), in pixels, to the coordinates of the corresponding point located in the GdViewer control area (the viewer space), in pixels. That said, the point with the coordinates (DocumentLeft, DocumentTop) inside the currently displayed page of the document matches to the point with coordinates (ViewerLeft, ViewerTop) inside the GdViewer control area. |
![]() | CoordViewerPixelToDocumentInch | Translates the coordinates of the point located in the GdViewer control area (the viewer space), in pixels, to the coordinates of the corresponding point located in the displayed document (the document space), in inches. That said, the point with the coordinates (ViewerLeft, ViewerTop) inside the current page displayed in the viewer area matches to the point with coordinates (DocumentLeft, DocumentTop) inside the page with the same page number in the displayed document. |
![]() | CoordViewerToDocument | Translates the coordinates of the point located in the GdViewer control area (the viewer space), in pixels, to the coordinates of the corresponding point located in the displayed document (the document space), in pixels. That said, the point with the coordinates (ViewerLeft, ViewerTop) inside the current page displayed in the viewer area matches to the point with coordinates (DocumentLeft, DocumentTop) inside the page with the same page number in the displayed document. |
![]() | CopyRegionToClipboard | Copies the content of the specified region, related to the current page of the document displayed in the GdViewer control, into the clipboard as an image. Please ensure, that specified coordinates and dimensions correspond to the actual document pages area of the currently displayed page. |
![]() | CopyRegionToGdPictureImage | Copies the content of the specified region, related to the current page of the document displayed in the GdViewer control, into a GdPictureImage object. Please ensure, that specified coordinates and dimensions correspond to the actual document pages area of the currently displayed page.
The method creates a new GdPictureImage object of the required area on the displayed page. The resulting image is recognizable by its unique image identifier. Please note that you have to release the created image from the memory using the GdViewer.ReleaseGdPictureImage method. |
![]() | CopyToClipboard | Copies the current page, that means the content of the whole page, of the document displayed in the GdViewer control into the clipboard as an image. |
![]() | CreateControl | (Inherited from System.Windows.Forms.Control) |
![]() | CreateGraphics | (Inherited from System.Windows.Forms.Control) |
![]() | CreateObjRef | (Inherited from System.MarshalByRefObject) |
![]() | DeleteAnnotation | Removes a required GdPicture/XMP annotation object specified by its index related to the current page of the document displayed in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. |
![]() | DisplayFirstPage | Displays the first page of the document currently loaded in the GdViewer control. You can use the GdViewer.CurrentPage property to determine the currently displayed page.
The GdViewer.PageDisplayed and the GdViewer.PageChanged events are raised after the page has been successfully displayed and changed. Be aware that the GdViewer.SaveAnnotationsToPage method is called internally before each page change. |
![]() | DisplayFromBitmap | Loads an image data stored in a System.Drawing.Bitmap object and subsequently displays the image in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromByteArray | Loads a document from an array of bytes and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
All document formats currently supported by the toolkit are listed here. The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayFromClipboard | Loads an image, which is currently stored in the clipboard, and then displays it in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromDIB | Loads an image from an instantiated Device Independent Bitmap (DIB) handle and then displays it in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromFile | Overloaded. Loads documents or images from a file and subsequently displays it in the GdViewer control. |
![]() | DisplayFromFTP | Overloaded. Loads a document from a file stored on a distant server using FTP transfer and subsequently displays it in the GdViewer control. |
![]() | DisplayFromGdPictureImage | Loads an image represented by the unique image identifier referring to an associated GdPictureImage object and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromGdPicturePDF | Loads a PDF document from the instantiated GdPicturePDF object and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayFromHBitmap | Loads an image from an instantiated Microsoft® Windows® Graphics Device Interface (GDI) handle and then displays it in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromHICON | Loads an image of an icon from an instantiated Windows handle to icon and subsequently displays the image in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the image is displayed in the GdViewer control. Both events are only raised if the image has been successfully loaded. |
![]() | DisplayFromHTTP | Overloaded. Loads a document from a file stored on a distant server using HTTP transfer and subsequently displays it in the GdViewer control. |
![]() | DisplayFromHTTPStop | Cancels the download process previously started using the GdViewer.DisplayFromFTP or the GdViewer.DisplayFromHTTP methods. |
![]() | DisplayFromIStream | Loads a document from an instantiated IStream object according to what you have specified and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
This method is especially useful for encrypted PDF documents, as you are allowed to enter a password to decrypt the document for reading its content. All document formats currently supported by the toolkit are listed here. The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayFromMemory | Loads a document from a file, which data are stored within a specified memory area and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
All document formats currently supported by the toolkit are listed here. The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayFromRawBits | Loads an image data stored within a raw bitmap in memory area and subsequently displays the image in the GdViewer control. The document previously displayed in the control will automatically close.
The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayFromStream | Overloaded. Loads documents or images from a Stream object and subsequently displays it in the GdViewer control. |
![]() | DisplayFromString | Loads a document from a file, which data are stored within a string using Encoding 1252 and subsequently displays it in the GdViewer control. The document previously displayed in the control will automatically close.
All document formats currently supported by the toolkit are listed here. The GdViewer.BeforeDocumentChange and the GdViewer.AfterDocumentChange events are raised just before and right after the document is displayed in the GdViewer control. Both events are only raised if the document has been successfully loaded. |
![]() | DisplayLastPage | Displays the last page of the document currently loaded in the GdViewer control. You can use the GdViewer.CurrentPage property to determine the currently displayed page.
The GdViewer.PageDisplayed and the GdViewer.PageChanged events are raised after the page has been successfully displayed and changed. Be aware that the GdViewer.SaveAnnotationsToPage method is called internally before each page change. |
![]() | DisplayNextPage | Displays the next page, if any is available, of the document currently loaded in the GdViewer control. You can use the GdViewer.CurrentPage property to determine the currently displayed page.
The GdViewer.PageDisplayed and the GdViewer.PageChanged events are raised after the page has been successfully displayed and changed. Be aware that the GdViewer.SaveAnnotationsToPage method is called internally before each page change. |
![]() | DisplayPage | Changes the displayed page to the specified one, if that is available, of the document currently loaded in the GdViewer control. The value of the GdViewer.CurrentPage property is changed to the specified page number as well.
The GdViewer.PageDisplayed and the GdViewer.PageChanged events are raised after the page has been successfully displayed and changed. Be aware that the GdViewer.SaveAnnotationsToPage method is called internally before each page change. |
![]() | DisplayPreviousPage | Displays the previous page, if any is available, of the document currently loaded in the GdViewer control. You can use the GdViewer.CurrentPage property to determine the currently displayed page.
The GdViewer.PageDisplayed and the GdViewer.PageChanged events are raised after the page has been successfully displayed and changed. Be aware that the GdViewer.SaveAnnotationsToPage method is called internally before each page change. |
![]() | DisplayTextEditBox | Allows users to modify the annotation text directly within the defined annotation rectangle area. The actual annotation content is completely selected. This method is only applicable to sticky note and text annotations.
The method can be particularly useful if you want to let users add the new text (the annotation content) of the sticky note or text annotation right after they create it. The annotation rectangle area will serve as an editable dialogue box. Please refer to the attached example how it works. The GdViewer.AnnotationStartEditingText event is raised after opening the dialogue box. |
![]() | Dispose | Disposes already used GdViewer object completely. All related resources used by this object are released.
This method implicitly calls the GdViewer.CloseDocument method. |
![]() | DoDragDrop | (Inherited from System.Windows.Forms.Control) |
![]() | DrawToBitmap | (Inherited from System.Windows.Forms.Control) |
![]() | EndInvoke | (Inherited from System.Windows.Forms.Control) |
![]() | EnsureRegionVisibility | Ensures the visibility of a highlighted region within the current GdViewer control. The region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
To confirm the region visibility means that the control can change the current page or can scroll the content to ensure that the required region is fully visible. |
![]() | FindForm | (Inherited from System.Windows.Forms.Control) |
![]() | Focus | (Inherited from System.Windows.Forms.Control) |
![]() | GetAnnotationCount | Returns the number of all GdPicture/XMP annotation objects contained within the current page of the document displayed in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. |
![]() | GetAnnotationFromIdx | Returns a required GdPicture/XMP annotation object specified by its index related to the current page of the document displayed in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. |
![]() | GetAnnotationManager | Gets the AnnotationManager object associated with the current GdViewer control object for direct use.
Using this object, you are allowed for example to handle annotations behind the associated GdViewer control. |
![]() | GetChildAtPoint | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | GetContainerControl | (Inherited from System.Windows.Forms.Control) |
![]() | GetDisplayedArea | Returns coordinates and dimensions, in pixels, of the document's visible area within the control. The resulting rectangle relates to the current page of the document displayed in the GdViewer control and the coordinates correspond to the actual document pages area of the currently displayed page. |
![]() | GetDisplayedAreaInches | Returns coordinates and dimensions, in inches, of the document's visible area within the control. The resulting rectangle relates to the current page of the document displayed in the GdViewer control and the coordinates correspond to the actual document pages area of the currently displayed page. |
![]() | GetDocumentLeft | Returns the horizontal (X) coordinate of the point on the current page located in the document pages area, in pixels, that matches to the point on the current page of the displayed document located exactly in the top left corner within the GdViewer control. Be aware that the resulting coordinate may be negative if the current page is shifted in the control. |
![]() | GetDocumentTop | Returns the vertical (Y) coordinate of the point on the current page located in the document pages area, in pixels, that matches to the point on the current page of the displayed document located exactly in the top left corner within the GdViewer control. Be aware that the resulting coordinate may be negative if the current page is shifted in the control. |
![]() | GetDocumentType | Returns the type of the document currently displayed in the GdViewer control. |
![]() | GetHdc | Returns the handle to the device context associated with this GdViewer control. |
![]() | GetHScrollBarMaxPosition | Gets a maximum available position of the horizontal scrollbar, in pixels, related to the document currently displayed in the GdViewer control. That said, it is a maximum coordinate on the horizontal axis, which the horizontal scrollbar can reach on the displayed document according to the current control settings. |
![]() | GetHScrollBarPosition | Gets the current position of the horizontal scrollbar, in pixels, related to the document currently displayed in the GdViewer control. The resulting coordinate corresponds to the actual document area of the currently displayed page. |
![]() | GetLastPath | Returns the file path of the latest loaded or saved file using this GdViewer control. The stored value is not erased after closing the file. It is only overwritten with each new file loading or saving operation.
Be aware that both GdViewer.AddEmbeddedImageAnnotInteractive and %AddEmbeddedImageAnnotInteractive(string, bool, int, float, float)% methods overwrite the last used path with their ImagePath parameter. |
![]() | GetLastTransferError | Returns the error description of the last executed HTTP or FTP transfer operation with this GdViewer control, if that has failed specifically with one of the GdPictureStatus.Internet... errors. |
![]() | GetLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | GetMouseLeftInDocument | Returns the horizontal (X) coordinate (0-based) of the mouse cursor position located in the document area, in pixels, related to the current page of the displayed document in the GdViewer control. |
![]() | GetMouseTopInDocument | Returns the vertical (Y) coordinate (0-based) of the mouse cursor position located in the document area, in pixels, related to the current page of the displayed document in the GdViewer control. |
![]() | GetNextControl | (Inherited from System.Windows.Forms.Control) |
![]() | GetPageText | Overloaded. Returns the whole text of the specified page of the document displayed in the GdViewer control. |
![]() | GetPageTextArea | Overloaded. Returns the text, that is contained within a specific area of the page of the text-based document displayed in the GdViewer control. |
![]() | GetPageThumbnail | Overloaded. Creates a custom sized high quality (HQ) thumbnail of the selected page of the document displayed in the GdViewer control according to what you have specified. The required page is converted to an image resource and stored as an object of the type GdPictureImage. |
![]() | GetPageThumbnailAsBitmap | Creates a custom sized high quality (HQ) thumbnail of the specified page of the document displayed in the GdViewer control as a bitmap. The required page is converted to an image thumbnail that fits within a rectangle of the size and the background color you have specified. |
![]() | GetPreferredSize | (Inherited from System.Windows.Forms.Control) |
![]() | GetRectCoordinatesOnDocument | Gets data of the currently defined rectangle of area selection refering to the document pages area. This method gets the rectangle's coordinates and dimensions, in pixels, which determine the rectangle of selection related to the document displayed in the GdViewer control. The resulting values correspond to the actual document pages area.
Be aware that the rectangle of selection always relates to the displayed document. You can find out, if this rectangle is defined and drawn, using the GdViewer.IsRect method. |
![]() | GetRectCoordinatesOnDocumentInches | Gets data of the currently defined rectangle of area selection refering to the document pages area. This method gets the rectangle's coordinates and dimensions, in inches, which determine the rectangle of selection related to the document displayed in the GdViewer control. The resulting values correspond to the actual document pages area.
Be aware that the rectangle of selection always relates to the displayed document. You can find out, if this rectangle is defined and drawn, using the GdViewer.IsRect method. |
![]() | GetRectCoordinatesOnViewer | Gets data of the currently defined rectangle of area selection refering to the displayed viewer area. This method gets the rectangle's coordinates and dimensions, in pixels, which determine the rectangle of selection related to the document displayed in the GdViewer control. The resulting values correspond to the actual viewer area.
Be aware that the rectangle of selection always relates to the displayed document. You can find out, if this rectangle is defined and drawn, using the GdViewer.IsRect method. |
![]() | GetRectHeightOnDocument | Returns the height, in pixels, of the rectangle of area selection, related to the current page. The resulting value corresponds to the actual document pages area of the document displayed in the GdViewer control. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectHeightOnViewer | Returns the height, in pixels, of the rectangle of area selection, related to the document displayed in the GdViewer control. The resulting value corresponds to the viewer area. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectLeftOnDocument | Returns the horizontal (X) coordinate (0-based) of the top left point, in pixels, of the rectangle of area selection, related to the current page. The resulting coordinate corresponds to the actual document pages area of the document displayed in the GdViewer control. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectLeftOnViewer | Returns the horizontal (X) coordinate (0-based) of the top left point, in pixels, of the rectangle of area selection, related to the document displayed in the GdViewer control. The resulting coordinate corresponds to the viewer area. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectTopOnDocument | Returns the vertical (Y) coordinate (0-based) of the top left point, in pixels, of the rectangle of area selection, related to the current page. The resulting coordinate corresponds to the actual document pages area of the document displayed in the GdViewer control. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectTopOnViewer | Returns the vertical (Y) coordinate (0-based) of the top left point, in pixels, of the rectangle of area selection, related to the document displayed in the GdViewer control. The resulting coordinate corresponds to the viewer area. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectWidthOnDocument | Returns the width, in pixels, of the rectangle of area selection, related to the current page. The resulting value corresponds to the actual document pages area of the document displayed in the GdViewer control. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRectWidthOnViewer | Returns the width, in pixels, of the rectangle of area selection, related to the document displayed in the GdViewer control. The resulting value corresponds to the viewer area. You can determine, if the rectangle of selection is currently defined and drawn within the control, using the GdViewer.IsRect method. |
![]() | GetRegionBorderColor | Gets the border color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the border color of each highlighted region using the GdViewer.SetRegionBorderColor method. |
![]() | GetRegionBorderWidth | Gets the border width, in inches, of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the border width of each highlighted region using the GdViewer.SetRegionBorderWidth method. |
![]() | GetRegionColor | Gets the fill color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the fill color of each highlighted region when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionColor method. |
![]() | GetRegionColorSelection | Gets the fill color of a highlighted region, when it is selected by the user. The region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this color of each highlighted region using the GdViewer.SetRegionColorSelection method. |
![]() | GetRegionHeight | Gets the height of the highlighted region's rectangle, in inches, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the height of the region's rectangle when adding regions using using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionHeight method. |
![]() | GetRegionHeightPixels | Gets the height of the highlighted region's rectangle, in pixels, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the height of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches method or directly using the GdViewer.SetRegionHeightPixels method. |
![]() | GetRegionID | Returns the unique region identifier of a highlighted region specified by its sequence index related to the document currently displayed in the GdViewer control. You always have to apply this identifier when working with highlighted regions.
These regions, if present, determines the currently defined highlighted regions on the displayed document. |
![]() | GetRegionLeft | Gets the horizontal (X) coordinate of the top left point, in inches, where the highlighted region's rectangle is located on the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region'rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionLeft method. |
![]() | GetRegionLeftPixels | Gets the horizontal (X) coordinate of the top left point, in pixels, where the highlighted region's rectangle is located on the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region'rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionLeftPixels method. |
![]() | GetRegionMixMode | Gets the foreground mix mode of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
The foreground mix mode is used to combine the region fill color and the displayed area of the image covered by this region when highlighting. You can define this parameter of each highlighted region when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionMixMode method. |
![]() | GetRegionName | Gets the name of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the name of each highlighted region when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionName method. |
![]() | GetRegionPage | Gets the number of the page on which a highlighted region is drawn (placed). The region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can redefine the page of each highlighted region using the GdViewer.SetRegionPage method. |
![]() | GetRegionSelected | Gets the selection status of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
To select a region means that the region is visibly marked on the page with the thin red border, so its selection status is set to true. You can change the selection of each highlighted region using the GdViewer.SetRegionSelected method. You can also benefit from using the GdViewer.RegionSelectedByUser event. |
![]() | GetRegionTop | Gets the vertical (Y) coordinate of the top left point, in inches, where the highlighted region's rectangle is located on the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionTop method. |
![]() | GetRegionTopPixels | Gets the vertical (Y) coordinate of the top left point, in pixels, where the highlighted region's rectangle is located on the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region'rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionTopPixels method. |
![]() | GetRegionWidth | Gets the width of the highlighted region's rectangle, in inches, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the width of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionWidth method. |
![]() | GetRegionWidthPixels | Gets the width of the highlighted region's rectangle, in pixels, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the width of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods or directly using the GdViewer.SetRegionWidthPixels method. |
![]() | GetSelectedAnnotationIdx | Returns an index of the selected GdPicture/XMP annotation object within the current page of the document displayed in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. Likewise, annotations are always treated relative to the currently displayed page. |
![]() | GetSelectedText | Returns the last text selected by the user. This text is stored until you call the GdViewer.ClearSelectedText method to release it. |
![]() | GetSelectedTextRegions | Returns all rectangle areas, related to the current page, that represent the regions bounding the last text selected by the user. Each region is defined by its top left coordinates and by its width and height expressed in inches. These regions are stored until you call the GdViewer.ClearSelectedText method to release them. |
![]() | GetStat | Returns the status of the last executed operation with this GdViewer control. |
![]() | GetTextOccurrenceCount | Overloaded. Searches for an occurrence of a given text expression within the specified page of the document displayed in the GdViewer control according to the parameters you have specified. You can select either the Ordinal or the InvariantCulture comparison when searching. |
![]() | GetTextOccurrenceCountRegex | Searches for an occurrence of a given regex pattern within the specified page of the document displayed in the GdViewer control according to the parameters you have specified. If the format of the displayed document is other than supported text-based formats, which currently are DOCX, TXT, RTF and PDF, the method will fail. |
![]() | GetVScrollBarMaxPosition | Gets a maximum available position of the vertical scrollbar, in pixels, related to the document currently displayed in the GdViewer control. That said, it is a maximum coordinate on the vertical axis, which the vertical scrollbar can reach on the displayed document according to the current control settings. |
![]() | GetVScrollBarPosition | Gets the current position of the vertical scrollbar, in pixels, related to the document currently displayed in the GdViewer control. The resulting coordinate corresponds to the actual document area of the currently displayed page. |
![]() | GifPlay | Plays a GIF animation referring to the file displayed in the GdViewer control in a loop. |
![]() | GifStop | Stops the currently played GIF animation referring to the file displayed in the GdViewer control. |
![]() | Hide | (Inherited from System.Windows.Forms.Control) |
![]() | HideTextEditBox | Terminates the editing mode for modifying the annotation text within its rectangle area. You can specify if the defined text will be saved to the related annotation.
The annotation rectangle area previously enabled for editing by GdViewer.DisplayTextEditBox method will be disabled. If the editable dialogue box is not displayed, this method will fail. The GdViewer.AnnotationEndEditingText event is raised after closing the dialogue box. |
![]() | InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | Invalidate | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | Invoke | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | IPTCCount | Returns the total number of IPTC tags embedded within the document displayed in the GdViewer control. These tags, also known as document's metadata, allows for additional information to be stored within a document. |
![]() | IPTCGetID | Returns a unique IPTC tag ID (a proper IPTC tag name defined by the specification) of the required tag, that is embedded within the document displayed in the GdViewer control. |
![]() | IPTCGetValueString | Returns a string representation of the current tag value of the required IPTC tag, that is embedded within the document displayed in the GdViewer control. |
![]() | IsAnnotationVisibleAt | Indicates, whether the specified point related to the current GdViewer control space, is contained within the bounding box of the annotation specified by its index. The coordinates of the required point, in pixels, relates to the current control space and the specified annotation relates to the currently displayed page of the document loaded in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. |
![]() | IsRect | Detects, if the rectangle of area selection is drawn within the GdViewer control, which means this rectangle is defined. Please note that the rectangle of selection always relates to the document currently displayed in the GdViewer control.
The rectangle of area selection is determined using both GdViewer.SearchText and SearchText(String,Int32,Boolean,Boolean) methods, when setting the Occurrence parameter higher than 0. Hovewer, you can also define the custom rectangle of selection using one of these methods: GdViewer.SetRectCoordinatesOnDocument , GdViewer.SetRectCoordinatesOnDocumentInches and GdViewer.SetRectCoordinatesOnViewer. You can use the GdViewer.CenterOnRect method to make the rectangle visible, if any is defined, or the GdViewer.ClearRect method to clear the rectangle's location point and dimensions. |
![]() | IsRectDrawing | Detects, if the user is drawing the rectangle of area selection.
Please note that the rectangle of selection always relates to the document currently displayed in the GdViewer control. You can find out, if this rectangle is currently defined and drawn within the control, using the GdViewer.IsRect method. The GdViewer.RectEditedByUser event is raised when the rectangle has been successfully drawn. |
![]() | IsRectEditing | Detects, if the user is moving or editing the rectangle of area selection.
Please note that the rectangle of selection always relates to the document currently displayed in the GdViewer control. You can find out, if this rectangle is currently defined and drawn within the control, using the GdViewer.IsRect method. The GdViewer.RectEditedByUser event is raised when the rectangle has been successfully edited. |
![]() | LoadAnnotationsFromXMP | Overloaded. Loads the GdPicture/XMP annotations from a properly formatted file or stream and subsequently applies them to the document currently displayed in the GdViewer control. |
![]() | LogicalToDeviceUnits | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | PdfGetAuthor | Returns the author of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetCreationDate | Returns the date and time, when the currently displayed PDF document was created, as it is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetCreator | Returns the creator of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetEncryptionScheme | Returns the encryption algorithm which has been used to encrypt the currently displayed PDF document. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetKeywords | Returns the keywords of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetMetadata | Returns the metadata of the currently displayed PDF document, if any are stored in the PDF. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetModificationDate | Returns the date and time, when the currently displayed PDF document was most recently modified, as it is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetPageHeight | Returns the page height in PDF point units of the currently selected page in the displayed PDF document. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetPageWidth | Returns the page width in PDF point units of the currently selected page in the displayed PDF document. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetProducer | Returns the producer of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetSubject | Returns the subject of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetTitle | Returns the title of the currently displayed PDF document, if any is set in the document information dictionary. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PdfGetVersion | Returns the version of the PDF specification to which the currently displayed PDF document conforms. If the document currently displayed in the GdViewer control is not the PDF file, the method will fail. |
![]() | PerformAutoScale | (Inherited from System.Windows.Forms.ContainerControl) |
![]() | PerformLayout | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | PointToClient | (Inherited from System.Windows.Forms.Control) |
![]() | PointToScreen | (Inherited from System.Windows.Forms.Control) |
![]() | PreProcessControlMessage | (Inherited from System.Windows.Forms.Control) |
![]() | PreProcessMessage | (Inherited from System.Windows.Forms.Control) |
![]() | Overloaded. Prints the document currently displayed in the GdViewer control to the active printer. | |
![]() | PrintDialog | Overloaded. Invokes the standard Windows Print dialog box allowing you to print the displayed document by selecting additional settings. |
![]() | PrintGetActivePrinter | Returns the name of the printer, that is currently selected as the active printer, means the printer, which is subsequently used when printing the document displayed in the GdViewer control.
It is mostly the default printer, if not set otherwise. Hovewer, you can use the GdViewer.PrintSetActivePrinter method to select your preferred printer for next print jobs without affecting any other installed printers. |
![]() | PrintGetAlignment | Returns the value of an image alignment setting of the active printer. This value determines how the image is aligned when printing. |
![]() | PrintGetCollate | Returns the printer collate setting of the active printer. This property determines, whether the printed document is collated.
true will print a complete copy of the document before the first page of the next copy is printed. false will print each page by the number of copies specified before printing the next page. |
![]() | PrintGetColorMode | Returns the printer color mode setting of the active printer. This property determines whether the output will print in color or in monochrome. |
![]() | PrintGetCopies | Returns the printer copies setting of the active printer, that means the number of copies to be printed. |
![]() | PrintGetDocumentName | Returns the printer document name setting of the active printer. You can use it to display during the next print process (for example, in a print status dialog box or printer queue) while printing the document. |
![]() | PrintGetDuplexMode | Returns the printer duplex mode setting of the active printer. This property determines whether a page is printed on both sides (if the printer supports this feature). |
![]() | PrintGetLastError | Returns the error description of the last executed print operation, that has failed specifically with the GdPictureStatus.PrintingException error. |
![]() | PrintGetMargins | Returns the physical margins (x and y coordinates), that are part of the default page settings property of the active printer. Both margins are used as defaults for all pages to be printed. |
![]() | PrintGetOrientation | Returns the printer orientation setting of the active printer. This property determines the page orientation when printing. |
![]() | PrintGetPaperBin | Returns the paper source, means the paper tray, from which the printer gets paper, used by the active printer. The value is determined through the PaperSource.Kind property of the default page settings. |
![]() | PrintGetPaperHeight | Returns the height of the paper to be used by the active printer. |
![]() | PrintGetPaperSize | Returns the current paper size, means the type of the paper, to be used by the active printer. The value is determined through the PaperSize.Kind property of the default page settings. |
![]() | PrintGetPaperWidth | Returns the width of the paper to be used by the active printer. |
![]() | PrintGetPrinterName | Returns the name of the printer according to the index you have specified.
You can use the GdViewer.PrintGetPrintersCount method to determine the number of all available printers. The printer index is simply an integer value from 1 to GdViewer.PrintGetPrintersCount. |
![]() | PrintGetPrintersCount | Returns the number of all available (installed) printers on the computer. |
![]() | PrintGetPrinterSettings | Returns the printer settings of the active printer.
As explained in the GdViewer.PrintGetActivePrinter or the GdViewer.PrintSetActivePrinter methods, none of the available printers or their properties are affected using any of the print methods of this class. |
![]() | PrintGetQuality | Returns the printer quality setting of the active printer. This setting matches the PrinterResolutionKind property included in the PrinterSettings.PrinterResolutions parameter of the active printer. |
![]() | PrintGetStat | Returns the status of the last executed print operation with the current GdViewer control.
If the returned status is specifically GdPictureStatus.PrintingException, you can use the GdViewer.PrintGetLastError method to find out more details. |
![]() | PrintSetActivePrinter | Sets the printer, identified by its name, as the active printer, in other words makes it the currently selected printer, which is subsequently used when printing the document displayed in the GdViewer control. The specified printer is used to execute all next print jobs using the print methods of this class, if not set otherwise, without affecting any other installed printers.
You can use the GdViewer.PrintGetActivePrinter method to retrieve the currently selected printer, denoted as the active printer for print methods of this class. At the same this printer utilizes all by you altered printer settings without affecting the installed printers. |
![]() | PrintSetAlignment | Sets up the value of an image alignment setting of the active printer. This value determines how the image is aligned when printing. |
![]() | PrintSetAutoRotation | Sets up the auto-rotation property of the active printer, that determines, if the pages are automatically rotated to fit on the output medium when printing. |
![]() | PrintSetCollate | Sets up the printer collate setting of the active printer. This property determines, whether the printed document is collated.
Setting it to true will print a complete copy of the document before the first page of the next copy is printed. Setting it to false will print each page by the number of copies specified before printing the next page. |
![]() | PrintSetColorMode | Sets up the printer color mode setting of the active printer. This property determines whether the output will print in color or in monochrome. |
![]() | PrintSetCopies | Sets up the printer copies setting of the active printer, that means the number of copies to be printed. |
![]() | PrintSetDocumentName | Sets up the printer document name setting of the active printer. You can use it to display during the next print process (for example, in a print status dialog box or printer queue) while printing the document. |
![]() | PrintSetDuplexMode | Sets up the printer duplex mode setting of the active printer. This property determines whether a page is printed on both sides (if the printer supports this feature). |
![]() | PrintSetFromToPage | Sets up the required range of pages you want to print during the next print process using the active printer. |
![]() | PrintSetOrientation | Sets up the printer orientation setting of the active printer. This property determines the page orientation when printing. |
![]() | PrintSetPageSelection | Sets up the required selection of pages you want to print during the next print process using the active printer.
The specified pages selection will not take into account if you will print using the GdViewer.PrintDialog method. |
![]() | PrintSetPaperBin | Overloaded. Sets up the paper source, from which the active printer gets paper. |
![]() | PrintSetPaperSize | Sets the paper size, means the type of the paper, to be used by the active printer. |
![]() | PrintSetPreRasterization | Enables or disables the pre-rasterization parameter which specifies whether the pages of the document currently displayed in the GdViewer control must be pre-rasterized before being printed using the active printer. Enabling the pre-rasterization can dramatically improve the performance with printer drivers non-optimized for vector graphics rendering.
You can also define the rendering resolution using the GdViewer.PrintSetPreRasterizationDPI method when pre-rasterization is enabled. |
![]() | PrintSetPreRasterizationDPI | Specifies the rendering resolution to be used when pre-rasterization is enabled using the GdViewer.PrintSetPreRasterization method. |
![]() | PrintSetPrinterSettings | Sets up the printer settings of the active printer.
As explained in the GdViewer.PrintGetActivePrinter or the GdViewer.PrintSetActivePrinter methods, none of the available printers or their properties are affected using any of the print methods of this class. |
![]() | PrintSetQuality | Sets up the printer quality setting of the active printer. This setting matches the PrinterResolutionKind property included in the PrinterSettings.PrinterResolutions parameter of the active printer.
If the required Quality parameter is identified within the set of PrinterSettings.PrinterResolutions property items of the active printer, then the currently defined active printer resolution is filled up with the specified resolution attributes provided by the corresponding printer resolution item. |
![]() | PrintSetShowPrintingProgress | Enables or disables showing the progress indicator during the print process. The printing progress bar is displayed by default. |
![]() | PrintSetStdPaperSize | Sets up the standard paper size, means the type of the paper, to be used by the active printer. |
![]() | PrintSetUserPaperSize | Sets up a custom paper size to be used by the active printer. |
![]() | PrintShowPrinterSettingsDialog | Overloaded. Prompts the printer driver to show the printer settings dialog box of the active printer. |
![]() | RectangleToClient | (Inherited from System.Windows.Forms.Control) |
![]() | RectangleToScreen | (Inherited from System.Windows.Forms.Control) |
![]() | Redraw | Redraws the displayed document within the GdViewer control, that means refresh the displayed area of the control to show the currently loaded document, if any is defined. |
![]() | Refresh | (Inherited from System.Windows.Forms.Control) |
![]() | RegionCount | Returns the number of all highlighted regions related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define a highlighted region using GdViewer.AddRegion or GdViewer.AddRegionInches methods. Be aware that highlighted regions are also determined using both GdViewer.SearchText and SearchText(String,Int32,Boolean,Boolean) methods. |
![]() | ReleaseGdPictureImage | Releases a specified image and its corresponding image resource from memory. |
![]() | ReleaseHdc | Releases the handle to the device context associated with this GdViewer control, which has been obtained by a previous call of the GdViewer.GetHdc method. |
![]() | ReloadAnnotations | Forces the control to reload all GdPicture/XMP annotations contained within the currently displayed page of the document loaded in the GdViewer control.
We recommend to only use this method if the currently displayed document has been edited by another object. Afterwards, you need to call the GdViewer.Redraw method to refresh the control for displaying all required changes. |
![]() | RemoveAllRegions | Removes all highlighted regions related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define a highlighted region using GdViewer.AddRegion or GdViewer.AddRegionInches methods. Be aware that highlighted regions are also determined using both GdViewer.SearchText and SearchText(String,Int32,Boolean,Boolean) methods. |
![]() | RemoveItemMenu | Removes the specified contextual menu item. The available menu items are listed below.
The context menu is only available if some document is displayed in the GdViewer control. Please note that the toolkit does not support adding custom menu items right now. You can control displaying the menu in the GdViewer control by using the GdViewer.EnableMenu property. |
![]() | RemoveRegionByID | Removes a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document. |
![]() | RemoveRegionByName | Removes a highlighted region specified by its name related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document. |
![]() | ResetText | (Inherited from System.Windows.Forms.Control) |
![]() | ResumeLayout | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | Rotate | Rotates clockwise or flips the current page of the document displayed in the GdViewer control. The rotation angle can be set to 0, 90, 180 or 270 degrees clockwise and you are allowed to specify the axis used to flip the page.
The GdViewer.BeforeRotation event is raised just before the rotation process starts and the GdViewer.Rotation event is raised right after the rotation process finishes. Be aware that the page is only rotated in the control, not in the document itself. Files are always handled as read-only in the GdViewer control. |
![]() | RotateAnnotations | Rotates clockwise by a specified angle all GdPicture/XMP annotations contained within the currently displayed page of the document loaded in the GdViewer control. The coordinate system of the current page is used to determine the rotation direction.
Be aware that annotations are always treated relative to the currently displayed page. Please note that you need to call the GdViewer.Redraw method after the successful rotation to refresh the control for displaying all applied changes. |
![]() | RotateView | Rotates clockwise or flips the global view of this GdViewer control. The rotation angle can be set to 0, 90, 180 or 270 degrees clockwise and you are allowed to specify the axis used to flip the view.
The GdViewer.BeforeRotation event is raised just before the rotation process starts and the GdViewer.Rotation event is raised right after the rotation process finishes. |
![]() | SaveAnnotationsToPage | Forces the GdViewer control to save GdPicture/XMP annotations to the current page defined by the CurrentPage property, of the document displayed in the GdViewer control. Be aware that annotations are always treated relative to the currently displayed page.
This method only attaches rendered annotations to the current page while keeping them in the GdPicture/XMP format. You need to use the GdViewer.BurnAnnotationsToPage method to permanently include them into the page content. This method is applied internally automatically on each page change. |
![]() | SaveAnnotationsToXMP | Overloaded. Saves the GdPicture/XMP annotation part of the current page of the document displayed in the GdViewer control in XML format to a file or to a stream. |
![]() | SaveAnnotationsToXMPEx | Overloaded. Saves the GdPicture/XMP annotation part of all pages of the document displayed in the GdViewer control in XML format to a file or to a stream. |
![]() | SaveDocumentToJPEG | Overloaded. Saves the document displayed in the GdViewer control to a file in JPEG format with full GdPicture XMP annotation suppport. |
![]() | SaveDocumentToPDF | Overloaded. Saves the document displayed in the GdViewer control to a file in PDF format with full GdPicture XMP annotation suppport. |
![]() | SaveDocumentToTIFF | Overloaded. Saves the document displayed in the GdViewer control to a file in TIFF format with full GdPicture XMP annotation suppport. |
![]() | Scale | (Inherited from System.Windows.Forms.Control) |
![]() | ScaleBitmapLogicalToDevice | (Inherited from System.Windows.Forms.Control) |
![]() | ScrollControlIntoView | (Inherited from System.Windows.Forms.ScrollableControl) |
![]() | SearchText | Overloaded. Searches for an occurrence of a given text expression within the defined page of the document displayed in the GdViewer control according to the specified parameters and highlights the result or returns its coordinates. You can select either the Ordinal or the InvariantCulture comparison when searching. |
![]() | SearchTextRegex | Overloaded. Searches for an occurrence of a given text expression within the defined page of the document displayed in the GdViewer control according to the specified parameters and highlights the result or returns its coordinates. |
![]() | Select | (Inherited from System.Windows.Forms.Control) |
![]() | SelectAllText | Selects all text on the currently displayed page of the text-based document in the GdViewer control. Be aware that text selection is only enabled if the GdViewer.EnableTextSelection property is set to true. |
![]() | SelectAnnotation | Selects a required GdPicture/XMP annotation object specified by its index related to the current page of the document displayed in the GdViewer control.
Be aware that this method only handles GdPicture/XMP annotations. |
![]() | SelectNextControl | (Inherited from System.Windows.Forms.Control) |
![]() | SendToBack | (Inherited from System.Windows.Forms.Control) |
![]() | SetAnnotationEditorMode | Turns on or off the "editing mode" for the GdPicture/XMP annotation support, that means allows to edit or to lock available GdPicture/XMP annotations of the document displayed in the GdViewer control. The initial value is set to true. |
![]() | SetAutoScrollMargin | (Inherited from System.Windows.Forms.ScrollableControl) |
![]() | SetBackgroundColor | Sets the background color of this GdViewer control. |
![]() | SetBounds | Overloaded. (Inherited from System.Windows.Forms.Control) |
![]() | SetFtpPassiveMode | Specifies if the FTP transfer mode used by GdViewer.DisplayFromFTP method is Passive or not. The initial value is true. |
![]() | SetHScrollBarPosition | Sets the required position of the horizontal scrollbar, in pixels, related to the document currently displayed in the GdViewer control. In other words, the horizontal scrollbar moves to the newly specified coordinate on the horizontal axis. This coordinate relates to the actual document area of the currently displayed page.
The GdViewer.ScrollViewer event is raised if the scrollbar has moved. |
![]() | SetHttpTransferBufferSize | Changes the packet size used for transferring data by the GdViewer.DisplayFromHTTP and GdViewer.DisplayFromFTP methods. The initial value is 4096. |
![]() | SetHVScrollBarPosition | Sets the required position of both the horizontal and the vertical scrollbars in one step, in other words, both scrollbars move to the newly specified coordinates. The coordinates are expressed in pixels and they are related to the actual document area of the currently displayed page of the document displayed in the GdViewer control. |
![]() | SetItemMenuCaption | Changes the caption of the specified contextual menu item. The available menu items are listed below.
The context menu is only available if some document is displayed in the GdViewer control. Please note that the toolkit does not support adding custom menu items right now. You can control displaying the menu in the GdViewer control by using the GdViewer.EnableMenu property. |
![]() | SetItemMenuEnabled | Enables or disables the specified contextual menu item. The available menu items are listed below.
The context menu is only available if some document is displayed in the GdViewer control. Please note that the toolkit does not support adding custom menu items right now. You can control displaying the menu in the GdViewer control by using the GdViewer.EnableMenu property. |
![]() | SetRectBorderColor | Sets the border color of the rectangle of area selection, that is related to the document currently displayed in the GdViewer control. This color is used when drawing the rectangle of selection within the control. You can find out, if this rectangle is currently defined and drawn, using the GdViewer.IsRect method.
The default border color of the rectangle of area selection set by the toolkit is Color.Black. This property does not change its value when reloading documents within the control. |
![]() | SetRectCoordinatesOnDocument | Determines the rectangle of area selection refering to the document pages area. This method sets the specified coordinates and dimensions, in pixels, to identify the rectangle of selection related to the the document displayed in the GdViewer control. The specified rectangle is immediately drawn on the displayed page using the predefined parameters. Please ensure, that all given values correspond to the actual document pages area.
Be aware that the rectangle of selection always relates to the displayed document. On the other hand, you can specify the border size of this rectangle using the GdViewer.RectBorderSize property and the border color of this rectangle using the RectBorderColor property to be applied permanently. |
![]() | SetRectCoordinatesOnDocumentInches | Determines the rectangle of area selection refering to the document pages area. This method sets the specified coordinates and dimensions, in inches, to identify the rectangle of selection related to the document displayed in the GdViewer control. The specified rectangle is immediately drawn on the displayed page using the predefined parameters. Please ensure, that all given values correspond to the actual document pages area.
Be aware that the rectangle of selection always relates to the displayed document. On the other hand, you can specify the border size of this rectangle using the GdViewer.RectBorderSize property and the border color of this rectangle using the RectBorderColor property to be applied permanently. |
![]() | SetRectCoordinatesOnViewer | Determines the rectangle of area selection refering to the displayed viewer area. This method sets the specified coordinates and dimensions, in pixels, to identify the rectangle of selection related to the document displayed in the GdViewer control. The specified rectangle is immediately drawn on the viewer area using the predefined parameters. Please ensure, that all given values correspond to the viewer area.
Be aware that the rectangle of selection always relates to the displayed document. On the other hand, you can specify the border size of this rectangle using the GdViewer.RectBorderSize property and the border color of this rectangle using the RectBorderColor property to be applied permanently. |
![]() | SetRegionBorderColor | Overloaded. Sets the border color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. |
![]() | SetRegionBorderWidth | Sets the border width, in inches, of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can determine the border width of each highlighted region using the GdViewer.GetRegionBorderWidth method. |
![]() | SetRegionColor | Overloaded. Sets the fill color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. |
![]() | SetRegionColorSelection | Overloaded. Sets the fill color of a highlighted region, when it is selected by the user. The region is specified by its unique identifier related to the document currently displayed in the GdViewer control. |
![]() | SetRegionEditable | Specifies if users can edit a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
All newly added regions are editable by default. You can change this behaviour for all regions at once by setting the GdViewer.RegionsAreEditable property. You can also benefit from using several events related to highlighted regions like GdViewer.RegionEditedByUser, GdViewer.RegionMovedByUser , GdViewer.RegionResizedByUser and GdViewer.RegionSelectedByUser. |
![]() | SetRegionHeight | Sets the height of the highlighted region's rectangle, in inches, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the height of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches method. You can determine the height of the region's rectangle using the GdViewer.GetRegionHeight method. |
![]() | SetRegionHeightPixels | Sets the height of the highlighted region's rectangle, in pixels, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the height of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches method. You can determine the height of the region's rectangle using the GdViewer.GetRegionHeightPixels method. |
![]() | SetRegionLeft | Sets the horizontal (X) coordinate of the top left point, in inches, where the highlighted region's rectangle is to be located on the displayed document. The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches method. You can determine this coordinate of the region's rectangle using the GdViewer.GetRegionLeft method. |
![]() | SetRegionLeftPixels | Sets the horizontal (X) coordinate of the top left point, in pixels, where the highlighted region's rectangle is to be located on the displayed document. The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine this coordinate of the region's rectangle using the GdViewer.GetRegionLeftPixels method. |
![]() | SetRegionMixMode | Sets the foreground mix mode of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
The foreground mix mode is used to combine the region fill color and the displayed area of the image covered by this region when highlighting. You can define this parameter of each highlighted region when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine this parameter of each highlighted region using the GdViewer.GetRegionMixMode method. |
![]() | SetRegionName | Sets the name of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the name of each highlighted region when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine the name of each highlighted region using the GdViewer.GetRegionName method. |
![]() | SetRegionPage | Sets the number of the page on which a highlighted region is to be drawn (placed). The region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can determine the page of each highlighted region using the GdViewer.GetRegionPage method. |
![]() | SetRegionSelected | Sets the selection status of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
To select a region means that the region is visibly marked on the page with the thin red border, so its selection status is set to true. You can determine the selection of each highlighted region using the GdViewer.GetRegionSelected method. You can also benefit from using the GdViewer.RegionSelectedByUser event. |
![]() | SetRegionTop | Sets the vertical (Y) coordinate of the top left point, in inches, where the highlighted region's rectangle is to be located on the displayed document. The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region'rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine this coordinate of the region's rectangle using the GdViewer.GetRegionTop method. |
![]() | SetRegionTopPixels | Sets the vertical (Y) coordinate of the top left point, in pixels, where the highlighted region's rectangle is to be located on the displayed document. The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define this coordinate of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine this coordinate of the region's rectangle using the GdViewer.GetRegionTopPixels method. |
![]() | SetRegionWidth | Sets the width of the highlighted highlighted region's rectangle, in inches, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the width of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine the width of the region's rectangle using the GdViewer.GetRegionWidth method. |
![]() | SetRegionWidthPixels | Sets the width of the highlighted region's rectangle, in pixels, related to the actual document (meaning the document pages area). The highlighted region is specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.
You can define the width of the region's rectangle when adding regions using GdViewer.AddRegion or GdViewer.AddRegionInches methods. You can determine the width of the region's rectangle using the GdViewer.GetRegionWidthPixels method. |
![]() | SetVScrollBarPosition | Sets the required position of the vertical scrollbar, in pixels, related to the document currently displayed in the GdViewer control. In other words, the vertical scrollbar moves to the newly specified coordinate on the vertical axis. This coordinate relates to the actual document area of the currently displayed page.
The GdViewer.ScrollViewer event is raised if the scrollbar has moved. |
![]() | SetZoom100 | Adjusts the zoom (magnification) factor to be the 100% of the document displayed in the GdViewer control, in other words sets the current zoom factor to display the 100% of the loaded document.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomMode100 and refreshes the control as well. |
![]() | SetZoomFitViewer | Fits the document currently displayed in the GdViewer control to the viewer area while keeping the aspect ratio.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeFitToViewer and refreshes the control as well. |
![]() | SetZoomHeightViewer | Fits the document currently displayed in the GdViewer control to the current height of the viewer area, in other words the document is zoomed to fit the viewer's height.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeHeightViewer and refreshes the control as well. |
![]() | SetZoomShrinkWidthViewer | Shrinks the document currently displayed in the GdViewer control to the current width of the viewer area.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeShrinkToViewerWidth and refreshes the control as well. |
![]() | SetZoomViewer | Fits the document currently displayed in the GdViewer control to the current area of the control. The document is zoomed to fit the entire viewer area without keeping the aspect ratio.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeToViewer and refreshes the viewer as well. |
![]() | SetZoomWidthViewer | Fits the document currently displayed in the GdViewer control to the current width of the viewer area, in other words the document is zoomed to fit the viewer's width.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeWidthViewer and refreshes the control as well. |
![]() | Show | (Inherited from System.Windows.Forms.Control) |
![]() | SuspendLayout | (Inherited from System.Windows.Forms.Control) |
![]() | TagCount | Returns the total number of tags (EXIF, IPTC, Extra, Thumbnails & GPS, XML packet) embedded within the document displayed in the GdViewer control. These tags, also known as document's metadata, allows for additional information to be stored within a document. |
![]() | TagGetID | Returns a unique tag ID (a proper tag name defined by the specification) of the required tag, that is embedded within the document displayed in the GdViewer control. |
![]() | TagGetName | Returns a string representation of a unique predefined tag name of the required tag, that is embedded within the document displayed in the GdViewer control. |
![]() | TagGetValueString | Returns a string representation of the current tag value of the required tag, that is embedded within the document displayed in the GdViewer control. |
![]() | TerminateLastAnnotInteractiveAdd | Asks the GdViewer control to terminate the ongoing interactive annotation creation.
This method only works when the editing mode for annotations is enabled; otherwise, the method will fail. |
![]() | ToString | (Inherited from System.ComponentModel.Component) |
![]() | Update | (Inherited from System.Windows.Forms.Control) |
![]() | Validate | Overloaded. (Inherited from System.Windows.Forms.ContainerControl) |
![]() | ValidateChildren | Overloaded. (Inherited from System.Windows.Forms.UserControl) |
![]() | ZoomArea | Adjusts the current zoom to the area covered by the specified rectangle on the current page of the document displayed in the GdViewer control. The control is subsequently refreshed to zoom on the defined area.
You can try the Document Viewer Sample here to find out, how to utilize zooming features in your application. |
![]() | ZoomIN | Increases the current zoom level, it means zooms in on the control. You can use GdViewer.ZoomStep property to determine or to reset the currently used zoom step.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeCustom and refreshes the control as well. |
![]() | ZoomOUT | Decreases the current zoom level, it means zooms out on the control. You can use GdViewer.ZoomStep property to determine or to reset the currently used zoom step.
This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeCustom and refreshes the control as well. |
![]() | ZoomRect | Adjusts the current zoom to the area covered by the specified rectangle of area selection. You can use the GdViewer.IsRect method to determine if any rectangle of selection is defined.
The control is subsequently refreshed to zoom on the determined rectangle. |