Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfResourcePolicyFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfResourcePolicy, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfResourcePolicyFluent

Methods

public static PdfResourcePolicy AllowDataUris(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowDataUris: When true, bounded data-URI resources embedded in the source document may be decoded.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowDataUris = value };    pdfResourcePolicy.AllowDataUris(value);
public static PdfResourcePolicy AllowDocumentFontEmbedding(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowDocumentFontEmbedding: When true, Office converters may use font family names from the source document to locate and embed installed system fonts. Enabled by the balanced default; disabled by PdfResourcePolicy.CreatePortableDeterministic.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowDocumentFontEmbedding = value };    pdfResourcePolicy.AllowDocumentFontEmbedding(value);
public static PdfResourcePolicy AllowEmbeddedPackageResources(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowEmbeddedPackageResources: When true, bounded resources already contained in a source package, such as MHTML cid: parts, may be resolved.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowEmbeddedPackageResources = value };    pdfResourcePolicy.AllowEmbeddedPackageResources(value);
public static PdfResourcePolicy AllowLocalFileAccess(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowLocalFileAccess: When true, format-specific local-resource options may read files from explicitly allowed locations.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowLocalFileAccess = value };    pdfResourcePolicy.AllowLocalFileAccess(value);
public static PdfResourcePolicy AllowRemoteResourceResolution(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowRemoteResourceResolution: When true, application-supplied resolvers may obtain remote resources.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowRemoteResourceResolution = value };    pdfResourcePolicy.AllowRemoteResourceResolution(value);
public static PdfResourcePolicy AllowSystemFontEmbedding(PdfResourcePolicy pdfResourcePolicy, bool value = true) #

Sets PdfResourcePolicy.AllowSystemFontEmbedding: When true, converters may load and embed installed system fonts. Enabled by the balanced default.

Parameters

pdfResourcePolicy OfficeIMO.Pdf.PdfResourcePolicy required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfResourcePolicy The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Pdf.PdfResourcePolicy { AllowSystemFontEmbedding = value };    pdfResourcePolicy.AllowSystemFontEmbedding(value);