User (Legacy) Posted March 5, 2003 Report Posted March 5, 2003 Hi, I am trying to obtain the dimensions of the paintable area of the chart, I should use the CPI_Dimension PaintInfo call, correct? Thanking you in advance, Chase Gale
Software FX Posted March 6, 2003 Report Posted March 6, 2003 Yes, that's right. Depending on the language you are using the syntax will vary, here is how you would do it in VB: Dim l As Long l = ChartFX1.PaintInfo(CPI_DIMENSION, 0) width = CHART_LOWORD(l) height = CHART_HIWORD(l) CHART_LOWORD and CHART_HIWORD are defined in CFXOCX.BAS -- FP Software FX, Inc.
User (Legacy) Posted March 6, 2003 Author Report Posted March 6, 2003 Thank you very much, You guys are quick to respond and always point me in the right direction. Thanks again, Chase Gale "SoftwareFX Support" <support@softwarefx.com> wrote in message news:9tbqOGA5CHA.3068@webserver1.softwarefx.com... > Yes, that's right. > > Depending on the language you are using the syntax will vary, here is how > you would do it in VB: > > Dim l As Long > l = ChartFX1.PaintInfo(CPI_DIMENSION, 0) > width = CHART_LOWORD(l) > height = CHART_HIWORD(l) > > CHART_LOWORD and CHART_HIWORD are defined in CFXOCX.BAS > > -- > FP > Software FX, Inc. > > Attachments.zip
Recommended Posts
Archived
This topic is now archived and is closed to further replies.