B
Bob S
I am accessing the MoveableGraphicsLibrary which was suggested in a
different post. The base code is written in C# and is contained in a DLL.
In reproducing one of the small sample programs, I ran into the following
difficulty.
From the meta-data in the DLL:
public abstract class GraphicalObject
{
...
protected Cover cover;
public Cover Cover { get; }
...
}
In the derrived class (PrimitiveRectangle)
Public Class PrimitiveRectangle
Inherits MoveGraphLibrary.GraphicalObject
Public Overrides Sub DefineCover()
Dim lclCover As MoveGraphLibrary.Cover
Dim node As CoverNode = New CoverNode(0,
Auxi_Geometry.CornersOfRectangle(rc))
node.Clearance = True
lclCover = New Cover(New CoverNode() {node})
Me.Cover = lclCover
End Sub
I get the error that property Cover is read only.
Since VB is not case sensitive, I have not been able to access
the member "cover" to which I am required to assign a value.
Is there a way to access a case sensitive member from VB when
another member in the class differs only in case?
Thank you for any help.
different post. The base code is written in C# and is contained in a DLL.
In reproducing one of the small sample programs, I ran into the following
difficulty.
From the meta-data in the DLL:
public abstract class GraphicalObject
{
...
protected Cover cover;
public Cover Cover { get; }
...
}
In the derrived class (PrimitiveRectangle)
Public Class PrimitiveRectangle
Inherits MoveGraphLibrary.GraphicalObject
Public Overrides Sub DefineCover()
Dim lclCover As MoveGraphLibrary.Cover
Dim node As CoverNode = New CoverNode(0,
Auxi_Geometry.CornersOfRectangle(rc))
node.Clearance = True
lclCover = New Cover(New CoverNode() {node})
Me.Cover = lclCover
End Sub
I get the error that property Cover is read only.
Since VB is not case sensitive, I have not been able to access
the member "cover" to which I am required to assign a value.
Is there a way to access a case sensitive member from VB when
another member in the class differs only in case?
Thank you for any help.