Table of Contents

Class OdfImageFrameRequest

Namespace
OdfKit.Image
Assembly
OdfKit.dll

Represents a single request item when batch-adding image frames. 表示批次新增影像框架時的單筆請求。

public sealed class OdfImageFrameRequest
Inheritance
OdfImageFrameRequest
Inherited Members

Constructors

OdfImageFrameRequest(byte[], OdfLength, OdfLength, OdfLength, OdfLength, string?, string?, string?, string?)

Represents a single request item when batch-adding image frames. 表示批次新增影像框架時的單筆請求。

public OdfImageFrameRequest(byte[] imageBytes, OdfLength x, OdfLength y, OdfLength width, OdfLength height, string? preferredName = null, string? name = null, string? title = null, string? description = null)

Parameters

imageBytes byte[]

The image byte array. / 圖片位元組陣列。

x OdfLength

The X-axis position. / X 軸座標位置。

y OdfLength

The Y-axis position. / Y 軸座標位置。

width OdfLength

The frame width. / 框架寬度。

height OdfLength

The frame height. / 框架高度。

preferredName string

The optional preferred file name. / 選用的偏好檔名。

name string

The optional frame name. / 選用的框架名稱。

title string

The optional frame title. / 選用的框架標題。

description string

The optional frame description. / 選用的框架描述。

Properties

Description

Gets the optional frame description. 取得選用的框架描述。

public string? Description { get; }

Property Value

string

Height

Gets the frame height. 取得框架高度。

public OdfLength Height { get; }

Property Value

OdfLength

ImageBytes

Gets the image byte array. 取得圖片位元組陣列。

public byte[] ImageBytes { get; }

Property Value

byte[]

Name

Gets the optional frame name. 取得選用的框架名稱。

public string? Name { get; }

Property Value

string

PreferredName

Gets the optional preferred file name. 取得選用的偏好檔名。

public string? PreferredName { get; }

Property Value

string

Title

Gets the optional frame title. 取得選用的框架標題。

public string? Title { get; }

Property Value

string

Width

Gets the frame width. 取得框架寬度。

public OdfLength Width { get; }

Property Value

OdfLength

X

Gets the X-axis position. 取得 X 軸座標位置。

public OdfLength X { get; }

Property Value

OdfLength

Y

Gets the Y-axis position. 取得 Y 軸座標位置。

public OdfLength Y { get; }

Property Value

OdfLength