Namespace TallComponents.PDF.Shapes

Class ImageShape

A shape containing bitmap image.

In XML, you can specify 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