Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.Resolution |
Property Resolution As Long
Member of TextureFill
The Resolution property returns or specifies, in pixels per inch, the resolution of a texture-fill pattern.
The following VBA example applies a texture to a rectangle and displays the textures resolution.
Sub Test() |
Dim s As Shape |
Dim tf As TextureFill |
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4) |
Set tf = s.Fill.ApplyTextureFill("Circuit board", "Samples 6") |
MsgBox "Texture resolution: " & tf.Resolution |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.