Visual Basic (Declaration) | |
---|---|
Public Sub InsertSegments( _ ByVal image As RasterImage, _ ByVal segmentInfo() As PdfCompressorSegmentsInfo, _ ByVal isThereBackGround As Boolean, _ ByVal backgroundColor As RasterColor _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void InsertSegments( RasterImage image, PdfCompressorSegmentsInfo[] segmentInfo, bool isThereBackGround, RasterColor backgroundColor ) |
Managed Extensions for C++ | |
---|---|
public: void InsertSegments( RasterImage image, PdfCompressorSegmentsInfo*[] segmentInfo, bool isThereBackGround, RasterColor backgroundColor ) |
C++/CLI | |
---|---|
public: void InsertSegments( RasterImage image, array<PdfCompressorSegmentsInfo^> segmentInfo, bool isThereBackGround, RasterColor backgroundColor ) |
Parameters
- image
- Image to be inserted in the PDF file.
- segmentInfo
- Contains information for all segments. PdfCompressorSegmentsInfo
- isThereBackGround
- Determines whether to use the average backgroundColor for all segments with background type or to use each color of each background segment.
- backgroundColor
- Average background color, to be used for all backgrounds segments if isThereBackGround is true.
Refer to PdfCompressor example.
For more information, refer to Creating a Compressed PDF File.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family