VstkResource.StrokeStyleLineWidth
VstkResource.StrokeStyleLineWidth property
Haalt of stelt Lijnlijndikte in.
public double StrokeStyleLineWidth { get; set; }
Voorbeelden
De volgende code demonstreert de ondersteuning van de VstkResource-resource.
[C#]
string srcFile = "StrokeShapeTest1.psd";
string dstFile = "StrokeShapeTest2.psd";
using (PsdImage image = (PsdImage)Image.Load(srcFile))
{
Layer layer = image.Layers[1];
foreach (LayerResource resource in layer.Resources)
{
if (resource is VstkResource)
{
VstkResource vstkResource = (VstkResource)resource;
vstkResource.StrokeStyleLineAlignment = StrokePosition.Outside;
vstkResource.StrokeStyleLineWidth = 20;
}
}
image.Save(dstFile);
}
Zie ook
- class VstkResource
- naamruimte Aspose.PSD.FileFormats.Psd.Layers.LayerResources.StrokeResources
- montage Aspose.PSD