Click or drag to resize

Transform Class

Transform represents an Affine transform in PDF page. It wraps a PdfTransform object and will apply it upon render. Client code should avoid injecting transformations that have no inverse (Scale with 0 in either or both X and Y), as it creates a degenrate transform that can only be undone with a GRestore to a prior GSave. Since this has other side effects (changing clipping, line thickness and so on), it is not good practice.
Inheritance Hierarchy

Namespace:  Atalasoft.PdfDoc.Generating.Shapes
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public class Transform : IPdfRenderable

The Transform type exposes the following members.

Public methodTransform
Construct a new Transform object with the given PdfTransform.
Public propertyCode exampleName
Gets or sets the name of the object. The use of this property is not dictated by the PDF Authoring API. It is in place as a convenience for client code where it could be used for creating named objects in PDF content for later retrieval/editing.
Public propertyTransformationMatrix
Gets or sets the transformation matrix that will be applied when this object is rendered.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInverse
Returns a new Transform object which represents the inverse transform.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInvertable
Returns true if the TransformationMatrix has an inverse false otherwise.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleRender
Generates PDF content for this object using the provider PdfPageRenderer object. The PdfPageRenderer represents an object that is aggregating PDF content for a particular page. It is the responsibility of each object that implements IPdfRenderable to add content appropriate for that object to the page.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also