diff --git a/bindings/dotnet/examples/shader/Shader.cs b/bindings/dotnet/examples/shader/Shader.cs
index e634b4e30..6d62ab803 100644
--- a/bindings/dotnet/examples/shader/Shader.cs
+++ b/bindings/dotnet/examples/shader/Shader.cs
@@ -124,7 +124,7 @@ namespace shader
// Define a string for displaying current effect description
shaderText = new Text();
shaderText.Font = font;
- shaderText.Size = 20;
+ shaderText.CharacterSize = 20;
shaderText.Position = new Vector2(5.0F, 0.0F);
shaderText.Color = new Color(250, 100, 30);
shaderText.DisplayedString = "Background shader: \"" + backgroundShader.Name + "\"\n" +
@@ -134,7 +134,7 @@ namespace shader
// Define a string for displaying help
Text infoText = new Text();
infoText.Font = font;
- infoText.Size = 20;
+ infoText.CharacterSize = 20;
infoText.Position = new Vector2(5.0F, 500.0F);
infoText.Color = new Color(250, 100, 30);
infoText.DisplayedString = "Move your mouse to change the shaders' parameters\n" +
diff --git a/bindings/dotnet/src/Graphics/Text.cs b/bindings/dotnet/src/Graphics/Text.cs
index 7675186a0..16d129875 100644
--- a/bindings/dotnet/src/Graphics/Text.cs
+++ b/bindings/dotnet/src/Graphics/Text.cs
@@ -73,14 +73,14 @@ namespace SFML
///
/// String to display
/// Font to use
- /// Base characters size
+ /// Base characters size
////////////////////////////////////////////////////////////
- public Text(string str, Font font, uint size) :
+ public Text(string str, Font font, uint characterSize) :
base(sfText_Create())
{
DisplayedString = str;
Font = font;
- Size = size;
+ CharacterSize = characterSize;
}
////////////////////////////////////////////////////////////
@@ -223,7 +223,7 @@ namespace SFML
/// Base size of characters
///
////////////////////////////////////////////////////////////
- public uint Size
+ public uint CharacterSize
{
get {return sfText_GetCharacterSize(This);}
set {sfText_SetCharacterSize(This, value);}
@@ -285,7 +285,7 @@ namespace SFML
" BlendMode(" + BlendMode + ")" +
" String(" + DisplayedString + ")" +
" Font(" + Font + ")" +
- " Size(" + Size + ")" +
+ " CharacterSize(" + CharacterSize + ")" +
" Style(" + Style + ")" +
" Rectangle(" + GetRect() + ")";
}