Class ChartFrame

Class ChartFrame

Namespace: Aspose.Cells.Charts
Assembly: Aspose.Cells.dll (25.2.0)

チャート内のフレームオブジェクトを表すオブジェクトをカプセル化します。

public class ChartFrame

継承

objectChartFrame

派生

ChartArea, ChartTextFrame, PlotArea

継承メンバー

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

フィールド

m_AutoScaleFont

protected bool m_AutoScaleFont

フィールドの値

bool

m_BackgroundMode

protected BackgroundMode m_BackgroundMode

フィールドの値

BackgroundMode

m_IsAutoXPos

protected bool m_IsAutoXPos

フィールドの値

bool

m_IsAutoYPos

protected bool m_IsAutoYPos

フィールドの値

bool

m_IsOffsetPosBeSet

protected bool m_IsOffsetPosBeSet

フィールドの値

bool

m_fontIndex

protected int m_fontIndex

フィールドの値

int

m_isAutoSize

protected bool m_isAutoSize

フィールドの値

bool

プロパティ

Area

Aspose.Cells.Charts.ChartFrame.Areaを取得します。

public virtual Area Area { get; }

プロパティの値

Area

AutoScaleFont

オブジェクトのサイズが変更されると、テキストのフォントサイズが変更される場合はTrue。デフォルト値はTrueです。

public virtual bool AutoScaleFont { get; set; }

プロパティの値

bool

BackgroundMode

背景の表示モードを取得および設定します。

public BackgroundMode BackgroundMode { get; set; }

プロパティの値

BackgroundMode

Border

Aspose.Cells.Drawing.Lineを取得します。

public virtual Line Border { get; }

プロパティの値

Line

DefaultHeight

デフォルト位置の高さを表します。

public int DefaultHeight { get; }

プロパティの値

int

DefaultWidth

デフォルト位置の幅を表します。

public int DefaultWidth { get; }

プロパティの値

int

DefaultX

デフォルト位置のxを表します。

public int DefaultX { get; }

プロパティの値

int

DefaultY

デフォルト位置のyを表します。

public int DefaultY { get; }

プロパティの値

int

Font

指定されたChartFrameオブジェクトのAspose.Cells.Charts.ChartFrame.Fontオブジェクトを取得します。

public virtual Font Font { get; }

プロパティの値

Font

Height

フレームの高さをチャート領域の1/4000単位で取得または設定します。

public virtual int Height { get; set; }

プロパティの値

int

備考

1/4000の単位をピクセルに変換する方法は?
Height In Pixels = Y * Chart.ChartObject.Height / 4000;

IsAutomaticSize

チャートフレームが自動サイズかどうかを示します。

public virtual bool IsAutomaticSize { get; set; }

プロパティの値

bool

IsDefaultPosBeSet

デフォルト位置(DefaultX、DefaultY、DefaultWidth、DefaultHeight)が設定されているかどうかを示します。

public bool IsDefaultPosBeSet { get; }

プロパティの値

bool

IsInnerMode

プロットエリアのサイズが目盛りマークおよび軸ラベルを含むかどうかを示します。
Falseは、サイズがプロットエリア、目盛りマーク、および軸ラベルのサイズを決定することを指定します。

public bool IsInnerMode { get; set; }

プロパティの値

bool

備考

Xlsxファイル専用。

Shadow

フレームに影がある場合はTrue。

public bool Shadow { get; set; }

プロパティの値

bool

ShapeProperties

Aspose.Cells.Charts.ChartFrame.ShapePropertiesオブジェクトを取得します。

public ShapePropertyCollection ShapeProperties { get; }

プロパティの値

ShapePropertyCollection

TextOptions

テキストのオプションを取得および設定します。

public virtual TextOptions TextOptions { get; }

プロパティの値

TextOptions

Width

フレームの幅をチャート領域の1/4000単位で取得または設定します。

public virtual int Width { get; set; }

プロパティの値

int

備考

1/4000の単位をピクセルに変換する方法は?
Width In Pixels = Width * Chart.ChartObject.Height / 4000;

X

左上隅のx座標をチャート領域の1/4000単位で取得または設定します。

public virtual int X { get; set; }

プロパティの値

int

備考

1/4000の単位をピクセルに変換する方法は?
X In Pixels = X * Chart.ChartObject.Width / 4000;

Y

左上隅のy座標をチャート領域の1/4000単位で取得または設定します。

public virtual int Y { get; set; }

プロパティの値

int

備考

1/4000の単位をピクセルに変換する方法は?
Y In Pixels = Y * Chart.ChartObject.Height / 4000;

メソッド

SetPositionAuto()

フレームの位置を自動に設定します。

public virtual void SetPositionAuto()
 日本語