จริงๆ แล้วก็เอามาจาก help แหละครับ แต่อาจจะหาลำบากนิดนึง ตามนี้ครับ To specify a user-defined paper size at runtime, set the Paper.Size property to 256, then set the Print.CustomPage.Length and Print.Custom.Page.Width properties to the desired size in millimeters. These properties cannot be set in the painter. For example:
0 - Make the control's background opaque. 1 - Make the control's background transparent.
dw_1.object.objectname.background.mode = 0 example : dw_1.object.matrix.background.mode = 0
To set background color dynamically : dw_1.object.objectname.background.color = RGB(192, 192, 192) example : dw_1.object.matrix.background.color = RGB(192, 192, 192)
from url http://harimada.blogspot.com/search/label/PB%20Codes