PdfShadingContent Class
Represents a PDF content that is a smooth transition between colors.
public sealed class PdfShadingContent : PdfVisualContentElement
Public NotInheritable Class PdfShadingContent
Inherits PdfVisualContentElement
- Inheritance:
- System.ObjectPdfShadingContent
Properties
Bounds
Gets the explicit bounds of the PdfShadingContent.
Property Value
The explicit bounds of the PdfShadingContent.
Overrides
Remarks
This member, although exposed as a property for easier debugging, performs complex calculations, so instead of accessing it frequently, cache its result instead.
ElementType
Gets the Shading value.
public override PdfContentElementType ElementType { get; }
Public Overrides ReadOnly Property ElementType As PdfContentElementType
Property Value
The Shading value.
Overrides
Shading
Gets or sets the shading.
Property Value
The shading.
Remarks
If PdfShading value that is being set is associated with another PdfDocument, this property setter will automatically clone it and associate the clone with the current PdfDocument.
Exceptions
- System.ArgumentNullException
Value is null.
Inherited Properties
Collection | Gets the PdfContentElementCollection that the PdfContentElement belongs to. (Inherited from PdfContentElement) |
Format | Gets or sets the formatting properties applied to the PdfVisualContentElement. (Inherited from PdfVisualContentElement) |
Next | Gets the next PdfContentElement in the Collection. (Inherited from PdfContentElement) |
Previous | Gets the previous PdfContentElement in the Collection. (Inherited from PdfContentElement) |
Transform | Gets or sets the transformation from the new (transformed) coordinate system to the original (untransformed) coordinate system. All coordinates used after the transformation are expressed in the transformed coordinate system. tipBefore setting the Transform, move PdfVisualContentElement into its own PdfContentGroup so that the transformation is confined to that PdfContentGroup and doesn't have any effect on PdfContentElements outside that PdfContentGroup. (Inherited from PdfVisualContentElement) |