DocumentRotatorRotateToVariant Method ByteScout PDF Extractor SDK
Rotates specified PDF document to specified angle and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method Rotate(Stream, Stream, RotationAngle) for in-memory processing of PDF files.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.1.4801-master
Syntax

public Object RotateToVariant(
	Object sourceDocument,
	RotationAngle angle
)

Parameters

sourceDocument
Type: SystemObject
Byte array of the source PDF document as 'Variant()'.
angle
Type: Bytescout.PDFExtractorRotationAngle
Rotation angle.

Return Value

Type: Object
Array of bytes as Object that is exposed to ActiveX/COM as array of objects of Variant datatype ('Variant()').

Implements

IDocumentRotatorRotateToVariant(Object, RotationAngle)
See Also

Reference