PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Constructor ImageShape

Namespace TallComponents.PDF.Shapes
Class ImageShape

Create a new ImageShape from a stream of binary data.

Syntax

public ImageShape(Stream streamInt32 frameIndexBoolean disposeStream)

Parameters


Stream stream
The stream containing the binairy image data.

Int32 frameIndex
0-based frame index.

Boolean disposeStream
The stream will be disposed by this component.

When setting disposeStream to true, the stream will disposed after the Image instance has been released from memory. Note that if this instance of the stream is used multiple times an error will be thrown if the stream is used after this Image class is removed from memory.

Download PDFKit.NET 4.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.