←Select platform

IsLinearized(Stream,string) Method

Summary

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

Syntax
C#
VB
C++
public static bool IsLinearized( 
   Stream stream, 
   string password 
) 
Public Shared Function IsLinearized( 
   ByVal stream As Stream, 
   ByVal password As String 
) As Boolean 
public:  
   static bool IsLinearized( 
      Stream^ stream, 
      String^ password 
   ) 

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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly