Skip to main content

Resource

Version: 12.0

cete.dynamicpdf.resource

Resource​

Base class from which all resources are derived.

public abstract class Resource
Public MustInherit Class Resource

Inheritance: Object → Resource

Derived: Annotation, Artifact, ColorSpace, DocumentJavaScriptList, DocumentPackage, EmbeddedFileList, EmbeddedFileResource, Font, ButtonField, CheckBoxField, ChoiceField, ComboBoxField, Form, FormField, ListBoxField, RadioButtonField, SignatureField, TextField, IccProfile, GifImageData, ImageData, Jpeg2000ImageData, JpegImageData, PngImageData, TiffImageData, OperatorWriter, PageWriter, JavaScriptResource, ImportedPageContents, View3DProperties, SpotColorInk, StructureElement, Tag, CeTeBullets, CoreLatinFont, Courier, CourierBold, CourierBoldOblique, CourierOblique, GoogleFont, Helvetica, HelveticaBold, HelveticaBoldOblique, HelveticaOblique, OpenTypeFont, SingleByteEncodingResource, Symbol, TimesBold, TimesBoldItalic, TimesItalic, TimesRoman, Type1Font, WebOpenFont, XmpMetadata

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Properties​

RequiredPdfObjects​

Gets the number of PDF objects required by the resource.

public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32

Property Value​

Int32

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ResourceType​

Gets the type of resource.

public ResourceType ResourceType { get; }
Public Property ResourceType As ResourceType

Property Value​

ResourceType

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Uid​

Gets the unique ID of the resource.

public long Uid { get; }
Public Property Uid As Int64

Property Value​

Int64

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Methods​

Draw(DocumentWriter)​

Draws the resource to the given DocumentWriter object.

public abstract void Draw(DocumentWriter writer)
MustOverride Sub Draw(writer As DocumentWriter)

Parameters​

DocumentWriter object to receive the resource's output.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

NewUid()​

Generates a new unique ID for a resource.

public static long NewUid()
Shared Function NewUid() As Long

Returns​

The generated unique ID.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF