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

Namespace TallComponents.PDF.Shapes

Class ImageShape

A shape containing bitmap image.

In XML you can specifiy the image data as Base64 encoded data.

You can convert an image file to Base64 using the .NET method . C# string base64Data; using ( FileStream fs = new FileStream( fileName , FileMode.Open ) ) { byte[] bytes = new byte[ fs.Length ]; fs.Read( bytes, 0, bytes.Length ); base64Data = Convert.ToBase64String( bytes ); }

Syntax

public class ImageShape : ContentShape

Constructors

Properties

Methods

Events

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.