ThreeDFormat

ThreeDFormat — Aspose.Slides FOSS for .NET API Reference

FillFormat ThreeDFormat klassen styrer 3-D-visuelle effekter på former, inkludert bevels, ekstrusjonsdybde, kontur, kameraposisjon, belysning og materiale. Tilgang til den via Shape.ThreeDFormat.

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

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

FillFormat

PVIObjectThreeDFormat


FillFormat

FillFormatFillFormatFillFormatFillFormat
BevelTopIShapeBevelFillFormatBevel-innstillinger for øvre flate.
BevelBottomIShapeBevelFillFormatBevel-innstillinger for nedre flate.
ExtrusionHeightfloatFillFormatEkstrusjonsdybde.
ExtrusionColorIColorFormatFillFormatEkstrusjonsfarge.
ContourWidthfloatFillFormatKonturbredde.
ContourColorIColorFormatFillFormatKonturfarge.
DepthfloatFillFormat3-D depth value.
CameraICameraFillFormatKamerainnstillinger.
LightRigILightRigFillFormatInnstillinger for lysoppsett.
MaterialMaterialPresetTypeFillFormatForhåndsinnstilling for overflatemateriale.

Relaterte klasser

ShapeBevel

public class ShapeBevel : PVIObject, IShapeBevel
FillFormatFillFormatFillFormatFillFormat
BevelTypeBevelPresetTypeFillFormatBevel-forhåndsinnstillingstype.
WidthfloatFillFormatBevel-bredde.
HeightfloatFillFormatBevel-høyde.

FillFormat

public class Camera : PVIObject, ICamera
FillFormatFillFormatFillFormatFillFormat
CameraTypeCameraPresetTypeFillFormatKameraforhåndsinnstillingstype.
FieldOfViewAnglefloatFillFormatSynsfeltvinkel.
ZoomfloatFillFormatZoomnivå.
FillFormatFillFormat
SetRotation(float latitude, float longitude, float revolution)Angi kamerarotasjonens vinkler.
GetRotation()Hent gjeldende rotasjonsvinkler.

LightRig

public class LightRig : PVIObject, ILightRig
FillFormatFillFormatFillFormatFillFormat
DirectionLightingDirectionFillFormatLysretning.
LightTypeLightRigPresetTypeFillFormatLysoppsett forhåndsinnstilling.
FillFormatFillFormat
SetRotation(float latitude, float longitude, float revolution)Angi lysrotasjon.
GetRotation()Hent nåværende rotasjon.

Brukseksempler

Les 3-D-format

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}");

Se også

 Norsk