Table of Contents

Class PDFRenderer

Namespace
Org.Apache.Pdfbox.Rendering
Assembly
MASES.NetPDF.dll
public class PDFRenderer : JVMBridgeBase<PDFRenderer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
PDFRenderer
Implements
Inherited Members

Constructors

PDFRenderer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public PDFRenderer()

PDFRenderer(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PDFRenderer(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

PDFRenderer(PDDocument)

public PDFRenderer(PDDocument arg0)

Parameters

arg0 PDDocument

PDDocument

PDFRenderer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public PDFRenderer(params object[] args)

Parameters

args object[]

Properties

AnnotationsFilter

public AnnotationFilter AnnotationsFilter { get; set; }

Property Value

AnnotationFilter

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DefaultDestination

public RenderDestination DefaultDestination { get; set; }

Property Value

RenderDestination

ImageDownscalingOptimizationThreshold

public float ImageDownscalingOptimizationThreshold { get; set; }

Property Value

float

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

RenderingHints

public RenderingHints RenderingHints { get; set; }

Property Value

RenderingHints

Methods

IsGroupEnabled(PDOptionalContentGroup)

public bool IsGroupEnabled(PDOptionalContentGroup arg0)

Parameters

arg0 PDOptionalContentGroup

PDOptionalContentGroup

Returns

bool

bool

IsSubsamplingAllowed()

public bool IsSubsamplingAllowed()

Returns

bool

bool

RenderImage(int)

public BufferedImage RenderImage(int arg0)

Parameters

arg0 int

int

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderImage(int, float)

public BufferedImage RenderImage(int arg0, float arg1)

Parameters

arg0 int

int

arg1 float

float

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderImage(int, float, ImageType)

public BufferedImage RenderImage(int arg0, float arg1, ImageType arg2)

Parameters

arg0 int

int

arg1 float

float

arg2 ImageType

ImageType

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderImage(int, float, ImageType, RenderDestination)

public BufferedImage RenderImage(int arg0, float arg1, ImageType arg2, RenderDestination arg3)

Parameters

arg0 int

int

arg1 float

float

arg2 ImageType

ImageType

arg3 RenderDestination

RenderDestination

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderImageWithDPI(int, float)

public BufferedImage RenderImageWithDPI(int arg0, float arg1)

Parameters

arg0 int

int

arg1 float

float

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderImageWithDPI(int, float, ImageType)

public BufferedImage RenderImageWithDPI(int arg0, float arg1, ImageType arg2)

Parameters

arg0 int

int

arg1 float

float

arg2 ImageType

ImageType

Returns

BufferedImage

BufferedImage

Exceptions

IOException

RenderPageToGraphics(int, Graphics2D)

public void RenderPageToGraphics(int arg0, Graphics2D arg1)

Parameters

arg0 int

int

arg1 Graphics2D

Graphics2D

Exceptions

IOException

RenderPageToGraphics(int, Graphics2D, float)

public void RenderPageToGraphics(int arg0, Graphics2D arg1, float arg2)

Parameters

arg0 int

int

arg1 Graphics2D

Graphics2D

arg2 float

float

Exceptions

IOException

RenderPageToGraphics(int, Graphics2D, float, float)

public void RenderPageToGraphics(int arg0, Graphics2D arg1, float arg2, float arg3)

Parameters

arg0 int

int

arg1 Graphics2D

Graphics2D

arg2 float

float

arg3 float

float

Exceptions

IOException

RenderPageToGraphics(int, Graphics2D, float, float, RenderDestination)

public void RenderPageToGraphics(int arg0, Graphics2D arg1, float arg2, float arg3, RenderDestination arg4)

Parameters

arg0 int

int

arg1 Graphics2D

Graphics2D

arg2 float

float

arg3 float

float

arg4 RenderDestination

RenderDestination

Exceptions

IOException

SetSubsamplingAllowed(bool)

public void SetSubsamplingAllowed(bool arg0)

Parameters

arg0 bool

bool