PdfGraphics Object

Overview

PdfGraphics represents a self-contained graphics object (referred to as a Form XObject by PDF specifications). For more information on graphics objects, see Section 5.3 - PdfGraphics Object, Section 9.6 - Drawing Other Documents' Pages, and Chapter 19 - Transparency.

Member List

Properties


BBox As PdfRect (Read-only)
Returns an instance of the PdfRect object containing this graphics' bounding box. This property was introduced in Version 3.5.

Canvas As PdfCanvas (Read-only)
Returns an instance of the PdfCanvas object associated with this graphics object.

IsPattern As Boolean (Read-only)
Returns True if this graphics object represents a pattern, False otherwise. This property was introduced in Version 3.5.

Methods


Sub SetGroup(Group As PdfGState)

Associates a transparency group with this graphics object. Group is an instance of the PdfGState object representing a transparency group. This method was introduced in Version 3.1.

For more information, see Section 19.3 - Transparency Groups.


Sub SetGState(Group As PdfGState)

Associates a graphic state object with the pattern represented by this graphics object. This method can only be called if this object represents a pattern (IsPattern returns True). This method was introduced in Version 3.5.

For more information, see Section 16.5 - Patterns and Shadings.