Group:  Microsoft Access ยป microsoft.public.access.interopoledde
Thread: Syntax for Access report line method through interop

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Syntax for Access report line method through interop
Rick 09.04.2006 16:30:01
I'm trying to create a COM callable library function in vb.net. This is
going to be a common library called by a lot of Access database projects to
add some custom drawn objects to a report. I pass in the report object to a
vb.net function as an object of type Microsoft.Office.Interop.Access.Report.
Within that object, the syntax for the line method is

Public Overridable Sub Line(ByVal flags As Short, ByVal x1 As Single, ByVal
y1 As Single, ByVal x2 As Single, ByVal y2 As Single, ByVal color As Integer)

The syntax for the line method exposed through the interop object is
different than the line method available in Access report VBA.

I can't find any documentation or help for the values in this function
anywhere. I don't know what the meaningful values of 'flags' are, what the
units should be for
the positions, etc. I have found an example that shows that if flags=38, it
performs an absolute (not step) draw with the "BF" setting in the report line
method. That seems to work.

Can anyone direct me to the documentation on this method? Thanks.


--
Rick Cordray

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net