Class MultiPageOptions
名称: Aspose.Imaging.ImageOptions アセンション: Aspose.Imaging.dll (25.5.0)
複数のページをサポートするフォーマットのベースクラス
[JsonObject(MemberSerialization.OptIn)]
public class MultiPageOptionsInheritance
Derived
相続人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
MultiPageOptions()
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
[JsonConstructor]
public MultiPageOptions()MultiPageOptions(インタ[])
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(int[] pages)Parameters
pages int
( )
ページは。
MultiPageOptions(インタ( ), レクトアングル)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(int[] pages, Rectangle exportArea)Parameters
pages int
( )
ページの順番。
exportArea Rectangle
輸出地域です。
MultiPageOptions(ストレッチ[])
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(string[] pageTitles)Parameters
pageTitles string
( )
ページのタイトル
MultiPageOptions(ストレッチ( ), レクトアングル)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(string[] pageTitles, Rectangle exportArea)Parameters
pageTitles string
( )
ページのタイトル
exportArea Rectangle
輸出地域です。
MultiPageOptions(IntRange[])
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(IntRange[] ranges)Parameters
ranges IntRange
( )
アスポーズ.Imaging.IntRange
MultiPageOptions(IntRange( ), レクトアングル)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(IntRange[] ranges, Rectangle exportArea)Parameters
ranges IntRange
( )
アスポーズ.Imaging.IntRange
exportArea Rectangle
輸出地域です。
MultiPageOptions(IntRange)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(IntRange range)Parameters
range IntRange
アスポーズ.Imaging.IntRange
MultiPageOptions(レクトアンゲル、レクトアンゲル)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(IntRange range, Rectangle exportArea)Parameters
range IntRange
アスポーズ.Imaging.IntRange
exportArea Rectangle
輸出地域です。
MultiPageOptions(インタ)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(int page)Parameters
page int
ページインデックス
MultiPageOptions(レクトアングル)
Aspose.Imaging.ImageOptions.MultiPageOptionsクラスの新しい例を開始します。
public MultiPageOptions(int page, Rectangle exportArea)Parameters
page int
ページインデックス
exportArea Rectangle
輸出地域です。
Properties
ExportArea
輸出領域を取得または設定する。
public Rectangle ExportArea { get; set; }不動産価値
MergeLayers
あるいは,あるいは,あるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいはあるいは
public bool MergeLayers { get; set; }不動産価値
Mode
モードを入れるか、設定するか。
public MultiPageMode Mode { get; set; }不動産価値
OutputLayersNames
出力層の名前を取得または設定する(輸出形式が名称層をサポートしている場合、例えばPSDの場合)
public string[] OutputLayersNames { get; set; }不動産価値
string ( )
PageRasterizationOptions
ページのラスター化オプションを取得または設定します。
public VectorRasterizationOptions[] PageRasterizationOptions { get; set; }不動産価値
VectorRasterizationOptions ( )
PageTitles
ページのタイトルを取得または設定します。
public string[] PageTitles { get; set; }不動産価値
string ( )
Examples
この例では、複数のページのDJVU画像を複数のフレームのTIFF画像に変換する方法を示しています。
string dir = "c:\\temp\\";
                                                                                                 // Load a DJVU image from a file stream.
                                                                                                 using (System.IO.Stream stream = System.IO.File.OpenRead(dir + "sample.djvu"))
                                                                                                 {
                                                                                                     using (Aspose.Imaging.FileFormats.Djvu.DjvuImage djvuImage = new Aspose.Imaging.FileFormats.Djvu.DjvuImage(stream))
                                                                                                     {
                                                                                                         Aspose.Imaging.ImageOptions.TiffOptions saveOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);
                                                                                                         saveOptions.Compression = Aspose.Imaging.FileFormats.Tiff.Enums.TiffCompressions.Deflate;
                                                                                                         // Note that if the image is colorful, it will be automatically converted to B/W format according to the option below:
                                                                                                         saveOptions.BitsPerSample = new ushort[] { 1 };
                                                                                                         saveOptions.MultiPageOptions = new Aspose.Imaging.ImageOptions.DjvuMultiPageOptions();
                                                                                                         // By default, all pages will be stored to the output TIFF, but the desired set of pages can be specified explicitly.
                                                                                                         // Only the first and the second page will be exported.
                                                                                                         saveOptions.MultiPageOptions.Pages = new int[] { 0, 1 };
                                                                                                         // Set page titles.
                                                                                                         saveOptions.MultiPageOptions.PageTitles = new string[] { "The First Page", "The Second Page" };
                                                                                                         // Save to TIFF
                                                                                                         djvuImage.Save(dir + "sample.tif", saveOptions);
                                                                                                     }
                                                                                                 }Pages
ページを取得または設定します。
public int[] Pages { get; set; }不動産価値
int ( )
Examples
この例では、複数のページのDJVU画像を複数のフレームのTIFF画像に変換する方法を示しています。
string dir = "c:\\temp\\";
                                                                                                 // Load a DJVU image from a file stream.
                                                                                                 using (System.IO.Stream stream = System.IO.File.OpenRead(dir + "sample.djvu"))
                                                                                                 {
                                                                                                     using (Aspose.Imaging.FileFormats.Djvu.DjvuImage djvuImage = new Aspose.Imaging.FileFormats.Djvu.DjvuImage(stream))
                                                                                                     {
                                                                                                         Aspose.Imaging.ImageOptions.TiffOptions saveOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);
                                                                                                         saveOptions.Compression = Aspose.Imaging.FileFormats.Tiff.Enums.TiffCompressions.Deflate;
                                                                                                         // Note that if the image is colorful, it will be automatically converted to B/W format according to the option below:
                                                                                                         saveOptions.BitsPerSample = new ushort[] { 1 };
                                                                                                         saveOptions.MultiPageOptions = new Aspose.Imaging.ImageOptions.DjvuMultiPageOptions();
                                                                                                         // By default, all pages will be stored to the output TIFF, but the desired set of pages can be specified explicitly.
                                                                                                         // Only the first and the second page will be exported.
                                                                                                         saveOptions.MultiPageOptions.Pages = new int[] { 0, 1 };
                                                                                                         // Set page titles.
                                                                                                         saveOptions.MultiPageOptions.PageTitles = new string[] { "The First Page", "The Second Page" };
                                                                                                         // Save to TIFF
                                                                                                         djvuImage.Save(dir + "sample.tif", saveOptions);
                                                                                                     }
                                                                                                 }TimeInterval
時間の間隔を設定または設定します。
public TimeInterval TimeInterval { get; set; }不動産価値
Methods
CheckModeAvailability(MultiPageMode)
モードアプリケーションをチェック
protected virtual void CheckModeAvailability(MultiPageMode mode)Parameters
mode MultiPageMode
モードインデックス
InitPages(IntRange[])
ページを順番からスタートさせます。
public void InitPages(IntRange[] ranges)Parameters
ranges IntRange
( )
レイアウト