Table of Contents

Method MoveInlineImagesToResources

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

MoveInlineImagesToResources()

Moves all inline images to resources.

public void MoveInlineImagesToResources()

Remarks

This method replaces each inline image with a regular one. This does not affect visual representation of the canvas.

Moving inline images to resources can increase file size because regular images do not use abbreviated image property names.

You might want to move inline images to resources if you are going to scale, resize, recompress the inline images or replace their contents.

Moving inline images to resources can decrease length of the collection of the owning page images. This is because the library de-duplicates images when moving them to resources.

MoveInlineImagesToResources(Predicate<PdfImage>)

Moves some of the inline images to resources.

public void MoveInlineImagesToResources(Predicate<PdfImage> shouldMove)

Parameters

shouldMove Predicate<PdfImage>

The delegate that defines the conditions of inline images that should be moved to resources.

Remarks

This method replaces inline images that match the conditions of the shouldMove delegate with regular ones. This does not affect visual representation of the canvas.

Moving inline images to resources can increase file size because regular images do not use abbreviated image property names.

You might want to move inline images to resources if you are going to scale, resize, recompress the inline images or replace their contents.

Moving inline images to resources can decrease length of the collection of the owning page images. This is because the library de-duplicates images when moving them to resources.