Debenu Quick PDF logo

SetObjectAsStreamFromString

Miscellaneous functions

Version history

This function was introduced in Quick PDF Library version 15.11.

Description

Sets the raw PDF object stream data for the specified object number. This is for advanced use only.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetObjectAsStreamFromString(ObjectNumber: Integer; 
  const Source: AnsiString; Options: Integer): Integer;

ActiveX

This function is not available in the ActiveX edition

DLL

int DPLSetObjectAsStreamFromString(int InstanceID, int ObjectNumber, char * Source,
  int Options)

Parameters

ObjectNumber The number of the object to update. The first object is numbered 1 and the last object has an object number equal to the result of the GetObjectCount function.
Source The bytes to set for the contents of the stream object
Options 0=Do not compress
1=Compress

Return values

0 The ObjectNumber parameter was out of bounds or the object was not a stream object.
1 The specified object was updated successfully.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport