Previous Document Next Document

Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.Resolution


TextureFill.Resolution

Property Resolution As Long

Description

Member of TextureFill

The Resolution property returns or specifies, in pixels per inch, the resolution of a texture-fill pattern.

VBA example

The following VBA example applies a texture to a rectangle and displays the texture’s 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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.