ThreeDFormat

ThreeDFormat — Aspose.Slides FOSS for .NET API Reference

FillFormat ThreeDFormat klasse regelt 3-D visuele effecten op vormen, inclusief afschuiningen, extrusiediepte, contour, camerahoek, verlichting en materiaal. Toegang tot via Shape.ThreeDFormat.

FillFormat: Aspose.Slides.Foss (net9.0)

using Aspose.Slides.Foss;
public class ThreeDFormat : PVIObject, IThreeDFormat

FillFormat

PVIObjectThreeDFormat


FillFormat

FillFormatFillFormatFillFormatFillFormat
BevelTopIShapeBevelFillFormatInstellingen voor de bovenkantafschuining.
BevelBottomIShapeBevelFillFormatInstellingen voor de onderkantafschuining.
ExtrusionHeightfloatFillFormatExtrusiediepte.
ExtrusionColorIColorFormatFillFormatExtrusiekleur.
ContourWidthfloatFillFormatContourbreedte.
ContourColorIColorFormatFillFormatContourkleur.
DepthfloatFillFormat3-D depth value.
CameraICameraFillFormatCamera‑instellingen.
LightRigILightRigFillFormatVerlichtingsrig‑instellingen.
MaterialMaterialPresetTypeFillFormatVoorinstelling voor oppervlakmateriaal.

Gerelateerde klassen

ShapeBevel

public class ShapeBevel : PVIObject, IShapeBevel
FillFormatFillFormatFillFormatFillFormat
BevelTypeBevelPresetTypeFillFormatAfschuining voorinstellingstype.
WidthfloatFillFormatAfschuining breedte.
HeightfloatFillFormatAfschuining hoogte.

FillFormat

public class Camera : PVIObject, ICamera
FillFormatFillFormatFillFormatFillFormat
CameraTypeCameraPresetTypeFillFormatCamera voorinstellingstype.
FieldOfViewAnglefloatFillFormatGezichtsveldhoek.
ZoomfloatFillFormatZoomniveau.
FillFormatFillFormat
SetRotation(float latitude, float longitude, float revolution)Stel camerarotatiehoeken in.
GetRotation()Haal huidige rotatiehoeken op.

LightRig

public class LightRig : PVIObject, ILightRig
FillFormatFillFormatFillFormatFillFormat
DirectionLightingDirectionFillFormatLichtrichting.
LightTypeLightRigPresetTypeFillFormatLichtrig preset.
FillFormatFillFormat
SetRotation(float latitude, float longitude, float revolution)Stel lichtrotatie in.
GetRotation()Haal huidige rotatie op.

Voorbeelden van gebruik

Lees 3-D-indeling

using Aspose.Slides.Foss;

using var prs = new Presentation("deck.pptx");
var shape = prs.Slides[0].Shapes[0];
var td = shape.ThreeDFormat;

Console.WriteLine($"Extrusion height: {td.ExtrusionHeight}");
Console.WriteLine($"Material: {td.Material}");
Console.WriteLine($"Camera: {td.Camera.CameraType}");
Console.WriteLine($"Bevel top type: {td.BevelTop.BevelType}");

Zie ook

 Nederlands