Share via


IPdfPage Interface

Definition

Represents a PDF page that can be drawn upon and saved to a stream.

public interface class IPdfPage : IDisposable, Microsoft::Maui::Graphics::IDrawable
public interface IPdfPage : IDisposable, Microsoft.Maui.Graphics.IDrawable
type IPdfPage = interface
    interface IDrawable
    interface IDisposable
Public Interface IPdfPage
Implements IDisposable, IDrawable
Implements

Properties

Height

Gets the height of the PDF page.

PageNumber

Gets the page number within the PDF document.

Width

Gets the width of the PDF page.

Methods

Draw(ICanvas, RectF)

Draws the content onto the specified canvas within the given rectangle.

(Inherited from IDrawable)
Save(Stream)

Saves the PDF page to the specified stream.

SaveAsync(Stream)

Asynchronously saves the PDF page to the specified stream.

Extension Methods

AsBase64(IPdfPage)
AsBytes(IPdfPage)

Converts a PDF page to a byte array.

AsBytesAsync(IPdfPage)
AsStream(IPdfPage)

Converts a PDF page to a memory stream.

Applies to