Skip to main content

TiffImageData

Version: 7.0

cete.dynamicpdf.imaging.tiffimagedata

TiffImageData​

Represents the data of a TIFF image contained in a TIFF image file.

public class TiffImageData : ImageData
Public Class TiffImageData
Inherits ImageData

Inheritance: Object → Resource → ImageData → TiffImageData

Licensing​

This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Professional Edition
  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Professional Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

Height​

Gets the height of the image.

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

Property Value​

Int32

HorizontalDpi​

Gets the horizontal dpi (also known as pixels per inch) of the image data. (Inherited from ImageData)

public float HorizontalDpi { get; }
Public Property HorizontalDpi As Single

Property Value​

Single

Interpolate​

Gets or set a value indicating is image interpolation should be used by the PDF viewer when viewing the Image. (Inherited from ImageData)

public bool Interpolate { get; set; }
Public Property Interpolate As Boolean

Property Value​

Boolean

RequiredPdfObjects​

Gets the number of PDF objects required by the TIFF image.

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

Property Value​

Int32

ResourceType​

Gets the type of resource. (Inherited from ImageData)

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

Property Value​

ResourceType

ScaleX​

Gets the X scale of the image.

public float ScaleX { get; }
Public Property ScaleX As Single

Property Value​

Single

ScaleY​

Gets the Y scale of the image.

public float ScaleY { get; }
Public Property ScaleY As Single

Property Value​

Single

Uid​

Gets the unique ID of the resource. (Inherited from Resource)

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

Property Value​

Int64

VerticalDpi​

Gets the vertical dpi (also known as pixels per inch) of the image data. (Inherited from ImageData)

public float VerticalDpi { get; }
Public Property VerticalDpi As Single

Property Value​

Single

Width​

Gets the width of the image.

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

Property Value​

Int32

Methods​

Draw(DocumentWriter)​

Draws the TIFF image data to the given DocumentWriter object.

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

Parameters​

DocumentWriter object to receive the TIFF image data's output.

Draw(OperatorWriter, Single, Single, Single, Single)​

Draws the TIFF image data to the given PageWriter object.

public void Draw(OperatorWriter writer, float pdfX, float pdfY, float width, float height)
Sub Draw(writer As OperatorWriter, pdfX As Single, pdfY As Single, width As Single, height As Single)

Parameters​

PageWriter class to receive the TIFF image data's output.

X PDF coordinate for the TIFF image when drawn.

Y PDF Coordinate for the TIFF image when drawn.

Width of the TIFF image when drawn.

Height of the TIFF image when drawn.

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.

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 .

GetPage()​

Returns a Page object containing the image as a background. (Inherited from ImageData)

public Page GetPage()
Function GetPage() As Page

Returns​

A Page with the image as a background.

GetPage(Single)​

Returns a Page object containing the image as a background. (Inherited from ImageData)

public Page GetPage(float margins)
Function GetPage(margins As Single) As Page

Parameters​

The margins of the page.

Returns​

A Page with the image as a background.

GetPointHeight()​

Calculates the height of the image in points. (Inherited from ImageData)

public float GetPointHeight()
Function GetPointHeight() As Single

Returns​

The height of the image in points.

GetPointWidth()​

Calculates the width of the image in points. (Inherited from ImageData)

public float GetPointWidth()
Function GetPointWidth() As Single

Returns​

The width of the image in points.

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.

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 .

See Also​

ceTe.DynamicPDF.Imaging