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.ResolutionEnd Sub