PdfArgbIntRenderingSurface Class
Definition
Namespace: Xfinium.Pdf.Rendering.RenderingSurfaces
Defines an ARGB rendering surface that uses an array of integers as storage.
Inheritance: Object → PdfRenderingSurface → PdfIntRenderingSurface → PdfArgbIntRenderingSurface
Implements: IImageDataProvider
Constructors
| Name | Description |
|---|---|
| PdfArgbIntRenderingSurface(Int32,Int32) | Initializes a new PdfArgbIntRenderingSurface object. |
| PdfArgbIntRenderingSurface() | Initializes a new PdfArgbIntRenderingSurface object with an empty storage. |
| PdfArgbIntRenderingSurface(Int32[],Int32,Int32,Int32,Int32) | Initializes a new PdfArgbIntRenderingSurface object. |
Properties
| Name | Description |
|---|---|
| Bitmap | Gets the surface storage. (inherited from PdfIntRenderingSurface) |
| Height | Gets the surface height. (inherited from PdfRenderingSurface) |
| Type | Gets the type of the rendering surface. (inherited from PdfRenderingSurface) |
| Width | Gets the surface width. (inherited from PdfRenderingSurface) |
Methods
| Name | Description |
|---|---|
| ConvertFromBgra | Converts the surface from BGRA (ARGB int or BGRA byte) to its native format. |
| Save | Saves the rendering surface to the specified file. (inherited from PdfRenderingSurface) |
| SetColorForOpaquePixels | Adjusts the surface transparency with the new alpha. (inherited from PdfIntRenderingSurface) |
| SetColorForOpaquePixelsInNativeFormat | Adjusts the surface transparency with the new alpha. |