←Select platform

IsLinearized(Stream,string) Method

Summary

Determines if the PDF in a stream is linearized (optimized for the web).

Syntax
C#
Java
public static bool IsLinearized( 
   Stream stream, 
   string password 
) 
public static boolean isLinearized( 
   leadtools.ILeadStream iLeadStream,  
   java.lang.String string 
); 

Parameters

stream

Stream containing the PDF file data.

password

The password to use when loading this PDF file (if the file is encrypted); otherwise, use null.

Return Value

true if this PDF file is linearized (optimized for the web); otherwise, false.

Remarks

A linearized PDF file is a file that has been organized in such a way as to enable efficient, incremental access in a network environment. Linearized PDF files allow the first page of the PDF file to be displayed in a user Web browser before the entire file is downloaded from the Web server.

Use Linearize to create a linearized version of an existing PDF file.

Example

For an example, refer to Linearize.

Requirements

Target Platforms

Help Version 22.0.2021.10.28
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.